fjord/memoapp/views/new.erb

7 lines
266 B
Text

<form action="/memos" method="post">
<label for="title">タイトル</label>
<input type="text" name="title" id="title">
<label for="content">内容</label>
<textarea name="content" id="content"></textarea>
<button type="submit" class="save">保存</button>
</form>