Parent: [7af05e] (diff)

Download this file

edit_post.html    18 lines (17 with data), 757 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<div>
<form method="post" action="{{action}}"
enctype="multipart/form-data">
{% if show_subject %}
<input name="subject" style="width:90%"
value="{{value and (value.subject or '(no subject)')}}"/>
{% endif %}
<textarea name="text" style="width:90%">{{(value and 'text' in value) and value['text'] or ''}}</textarea>
<span class="arw"><span></span></span><br/>
<div class="attachment_form_fields" style="display:none; padding: 5px 0;">
<input type="file" class="text" name="{{att_name}}" id="{{att_name}}"/>
</div>
<div style="clear:both"></div>
<input type="submit" value="{{submit_text}}"/>
<input type="button" value="Add attachment" class="attachment_form_add_button"/>
</form>
</div>