blog/webapp/templates/blog_post/_update.html
2020-08-11 13:17:53 +02:00

44 lines
1.5 KiB
HTML

<form action="{{ url_for('update_blog_post', uuid=instance.id) }}" method="post">
<input type="hidden" name="_next" value="{{ _next or request.args.get('_next') or url_for('get_blog_post', uuid=instance.id) }}"/>
<table>
<tr><td>
<label for="input-blog_post-filename">{{ _("filename") }}</label>:
</td><td>
<input id="input-blog_post-filename"
value="{{ instance.filename }}"
type="text" name="filename" autocomplete="off"
/>
</td></tr>
<tr><td>
<label for="input-blog_post-title">{{ _("title") }}</label>:
</td><td>
<input id="input-blog_post-title"
value="{{ instance.title }}"
type="text" name="title" autocomplete="off"
/>
</td></tr>
<tr><td>
<label for="input-blog_post-body">{{ _("body") }}</label>:
</td><td>
<textarea id="input-blog_post-body"
name="body">{{ instance.body }}</textarea>
</td></tr>
<tr><td>
<label for="input-blog_post-created_dt">{{ _("created_dt") }}</label>:
</td><td>
<input id="input-blog_post-created_dt"
value="{{ instance.created_dt }}"
type="text" name="created_dt" autocomplete="off"
/>
</td></tr>
<tr><td>
<label for="input-blog_post-updated_dt">{{ _("updated_dt") }}</label>:
</td><td>
<input id="input-blog_post-updated_dt"
value="{{ instance.updated_dt }}"
type="text" name="updated_dt" autocomplete="off"
/>
</td></tr>
</table>
<input type="submit">
</form>