Правила доступа на запись и подписанные ссылки
This commit is contained in:
1 parent
9508c29964
commit
3a04ee5bb3
14 files changed
+638
-10
No files matched your search
@@ -31,10 +31,12 @@ $action = $isNew
|
||||
<textarea name="body"><?= View::e((string) $note->body) ?></textarea>
|
||||
</label>
|
||||
|
||||
<label class="inline" style="margin-bottom: 12px;">
|
||||
<input type="checkbox" name="pinned" value="1" <?= $note->pinned ? 'checked' : '' ?>>
|
||||
<span>Закрепить наверху списка</span>
|
||||
</label>
|
||||
<?php if (View::can('note.pin', $note)) { ?>
|
||||
<label class="inline" style="margin-bottom: 12px;">
|
||||
<input type="checkbox" name="pinned" value="1" <?= $note->pinned ? 'checked' : '' ?>>
|
||||
<span>Закрепить наверху списка</span>
|
||||
</label>
|
||||
<?php } ?>
|
||||
|
||||
<label>
|
||||
<span>Файл<?= $note->hasFile() ? ' (сейчас: ' . View::e((string) $note->raw('file_name')) . ')' : '' ?></span>
|
||||
|
||||
Reference in new issue
Block a user