| {% extends "modules/gci/form_base.html" %} |
| {% comment %} |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| {% endcomment %} |
| |
| {% block stylesheets %} |
| {{ block.super }} |
| <link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/uniform.default.css" /> |
| <link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/forms.css" /> |
| {% endblock stylesheets %} |
| |
| {% block page_content %} |
| |
| {% include "codein/_data_saved_message.html" %} |
| |
| <div class="block block-form"> |
| <!-- begin form --> |
| {% block open_form %} |
| <!-- Header before the form indicating which form the user is editing --> |
| <div class="block-form-title"> |
| <span class="title"> |
| {% if form_header_msg %} |
| {{ form_header_msg }} |
| {% else %} |
| {{ page_name }} |
| {% endif %} |
| </span> |
| <span class="req">* fields required</span> |
| </div> |
| |
| <div class="preform-header-description"> |
| {{ description|safe }} |
| </div> |
| <!-- end of pre-form header --> |
| |
| {% endblock open_form %} |
| |
| <form action="{% if cbox %}?cbox=true{% else %}#{% endif %}" method="post" id="form" class="clearfix"> |
| {% for form in forms %} |
| {{ form.render }} |
| {% endfor %} |
| |
| {% block form_button %} |
| {% if not hide_buttons %} |
| <div class="form-row form-row-buttons"> |
| <input value="Submit" class="button" type="submit"> |
| </div> |
| {% endif %} |
| {% endblock form_button %} |
| </form> |
| </div> |
| <!-- end form --> |
| |
| {% endblock page_content %} |
| |
| |
| {% block dependencies %} |
| [ |
| dep.jqueryui, |
| dep.uniform, |
| null, |
| tc("/soc/content/{{ app_version }}/js/templates/modules/gci/org_app/take.js") |
| ] |
| {% endblock dependencies %} |