Parent: [2580ff] (diff)

Child: [ddf08c] (diff)

Download this file

edit_post.html    22 lines (21 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
<div>
<form method="post" action="{{action}}"
enctype="multipart/form-data">
{% if show_subject %}
<input name="{{ widget.context_for(widget.fields.subject)['rendered_name'] }}" style="width:97%"
value="{{value and (value.subject or '(no subject)')}}"/>
{% endif %}
{{widget.display_field(widget.fields.text)}}
<input type="hidden" class="original_value" value="{{value.text}}">
<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}}" {% if att_id %}id="{{att_id}}"{% endif %}/>
</div>
<div style="clear:both"></div>
<input type="submit" value="{{submit_text}}"/>
<a href="#" class="btn link cancel_edit_post">Cancel</a> &nbsp;
<a href="#" class="btn link attachment_form_add_button">Add attachment</a>
{% if widget.antispam %}{% for fld in g.antispam.extra_fields() %}
{{fld}}{% endfor %}{% endif %}
</form>
</div>