summaryrefslogtreecommitdiff
path: root/objectapp/templates/admin/objectapp/widgets/quickpost.html
blob: 6bf0150ca3bf9e80c9918dcaca3660050f758a83 (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
{% load i18n %}
<div id="quickpost" class="module">
  <form method="post" action="{% url objectapp_gbobject_quick_post %}">
    {% csrf_token %}
    <table summary="{% trans "Quick publishing" %}">
      <caption>{% trans "Quick publishing" %}</caption>
      <tr>
        <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_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>