blob: da24e3047303ebcbd172296e8a7c8cf72a41e3b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{% load i18n %}
<div id="OTquickpost" class="module">
<form method="post" action="{% url gstudio_nodetype_quick_post %}">
{% csrf_token %}
<table summary="{% trans "Quick publishing" %}">
<tr><p class="help">All the fields are mandatory</p>
<th>
<label for="id_title" class="required">{% trans "Title" %}:</label>
</th>
<td>
<input name="title" class="vTextField" maxlength="255" id="id_title" type="text" />
</td>
</tr>
<tr>
<th>
<label for="id_slug" class="required">{% trans "Slug" %}:</label>
</th>
<td>
<input name="slug" class="vTextField" maxlength="255" id="id_slug" type="text" />
</td>
</tr>
<tr>
<th>
<label for="id_status" class="required">{% trans "Status" %}:</label>
</th>
<td>
<input name="status" class="vTextField" maxlength="100" id="id_status" type="text" />
</td>
</tr>
<tr>
<th>
<label for="id_content" class="required">{% trans "Content" %}:</label>
</th>
<td>
<textarea id="id_content" rows="7" name="content" class="vLargeTextField"></textarea>
</td>
</tr>
<tr>
<th>
<label for="id_tags">{% trans "Tags" %}:</label>
</th>
<td>
<input name="tags" class="vTextField" maxlength="255" id="id_tags" type="text" />
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="{% trans "Save as draft" %}" name="save_draft" class="button" />
<input type="reset" value="{% trans "Reset" %}" class="button" />
<input type="submit" value="{% trans "Publish" %}" class="default" name="save" />
</td>
</tr>
</table>
</form>
</div>
|