12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- {% extends "cranefly/usercp/layout.html" %}
- {% import "forms.html" as form_theme with context %}
- {% import "cranefly/macros.html" as macros with context %}
- {% block title %}{{ macros.page_title(title=_('Change Forum Options')) }}{% endblock %}
- {% block action %}
- <div class="form-container">
- <div class="form-header">
- <h1>{% trans %}Change Forum Options{% endtrans %}</h1>
- </div>
- {% if message %}
- <div class="messages-list">
- {{ macros.draw_message(message) }}
- </div>
- {% endif %}
- <form action="{{ url('usercp_options') }}" method="post">
- {{ form_theme.hidden_fields(form) }}
- <div class="form-fields">
- <fieldset>
- <legend>{% trans %}Privacy{% endtrans %}</legend>
- {{ form_theme.row(form.hide_activity, attrs={'class': 'span9'}) }}
- {{ form_theme.row(form.allow_pds, attrs={'class': 'span9'}) }}
- </fieldset>
- <fieldset>
- <legend>{% trans %}Forum Options{% endtrans %}</legend>
- {{ form_theme.row(form.timezone, attrs={'class': 'span9'}) }}
- {{ form_theme.row(form.newsletters, attrs={'inline': _("Yes, I want to subscribe forum newsletter.")}) }}
- </fieldset>
- <fieldset>
- <legend>{% trans %}Watching Threads{% endtrans %}</legend>
- {{ form_theme.row(form.subscribe_start, attrs={'class': 'span9'}) }}
- {{ form_theme.row(form.subscribe_reply, attrs={'class': 'span9'}) }}
- </fieldset>
- </div>
- <div class="form-actions">
- <button name="save" type="submit" class="btn btn-primary">{% trans %}Change Options{% endtrans %}</button>
- <a href="{{ url('usercp') }}" class="btn">{% trans %}Cancel{% endtrans %}</a>
- </div>
- </form>
-
- </div>
- {% endblock %}
|