coriplus/templates/create.html

13 lines
601 B
HTML

{% extends "base.html" %}
{% block body %}
<h2>Create</h2>
<form action="{{ url_for('create') }}" method="POST" enctype="multipart/form-data">
<dl>
<dt>Message:</dt>
<dd><textarea name="text" placeholder="What's happening?" class="create_text">{{ request.args['preload'] }}</textarea></dd>
<dd id="fileInputContainer"><a href="javascript:attachFileInput();">Add a file...</a>
<dd><small>Messages are public and can be seen on your profile as well as public timeline.</small></dd>
<dd><input type="submit" value="Create" /></dd>
</dl>
</form>
{% endblock %}