rocket_csrf/examples/minimal/templates/comments/new.html.hbs

8 lines
220 B
Handlebars

{{ flash }}
<form method="post" action="/comments">
<input type="hidden" name="authenticity_token" value="{{ authenticity_token }}"/>
<input type="text" name="text"/>
<button type="submit">Submit</button>
</form>