master
ブランチ master
LittleBeast / view / microblog / edit.maron
882 B、17行 生 Blame 履歴
1{@ include(common/header) @}
2{@ include(microblog/nav) @}
3 <h1 class="paragraph">投稿の編集</h1>
4{@ if ($error) @}
5 <div class="errormes">{{ $error }}</div>
6{@ endif @}
7 <form class="mb-compose" method="post" action="/microblog/edit">
8 <input type="hidden" name="csrf_token" value="{{ $csrf }}" />
9 <input type="hidden" name="id" value="{{ $note['id'] }}" />
10 <input type="text" name="cw" maxlength="200" placeholder="注意書き(任意)" value="{{ $note['summary'] }}" />
11 <textarea name="content" rows="6" maxlength="{{ $maxLength }}">{{ $note['source'] }}</textarea>
12 <p class="mb-small">公開範囲({{ $visibilities[$note['visibility']] }})と添付は変えられません。</p>
13 <div class="mb-compose-bottom">
14 <button>保存</button>
15 </div>
16 </form>
17{@ include(common/footer) @}