Case state

{{ form.hidden_tag() }}
{{ form.state_name(class='form-control', autocomplete="off") }}
{{ form.state_description(class='form-control', autocomplete="off") }}
{% if not case_state.protected %} {% if case_state.state_id %} {% else %} {% endif %} {% else %} This state is protected and cannot be deleted or updated. {% endif %}