{% extends "base.html" %} {% block title %}{{ title }}{% endblock %} {% block morecss %} form.change-state select { width: 22em; } #id_message, #id_comment { width: 40em; } form.change-state .actions { text-align: right; padding-top: 10px; } {% endblock %} {% block content %}

{{ title }}

{% if "Change state" in title %}

For help on the states, see the state table.

{% endif %}
{% for field in form.visible_fields %} {% if field.name == "initial_time" %} {% if option == "recharter" %} {% endfor %}
{{ field.label_tag }}: {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% else %} {% if option == "initcharter" %}
{{ field.label_tag }}: {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% endif %} {% endif %} {% else %}
{{ field.label_tag }}: {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% endif %} {% if field.name == "charter_state" and field.errors == "warning" %}
  • The initial review time hasn't elapsed. Select this checkbox to proceed anyway:
{% else %} {{ field.errors }} {% endif %}
{% if option %} {% else %} Back {% endif %}
{% if prev_state %}

Or revert to previous state

{% endif %} {% endblock %} {% block content_end %} {% endblock %}