diff options
Diffstat (limited to 'gstudio/templates/admin/gstudio/widgets/OTquickpost.html')
-rw-r--r-- | gstudio/templates/admin/gstudio/widgets/OTquickpost.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/gstudio/templates/admin/gstudio/widgets/OTquickpost.html b/gstudio/templates/admin/gstudio/widgets/OTquickpost.html new file mode 100644 index 00000000..da24e304 --- /dev/null +++ b/gstudio/templates/admin/gstudio/widgets/OTquickpost.html @@ -0,0 +1,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> |