| {% extends base_layout %} |
| {% 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/thirdparty/uniform.default.css" /> |
| {% endblock stylesheets %} |
| |
| {% block page_content %} |
| |
| {% block formsave_msg %} |
| {% include "codein/_data_saved_message.html" %} |
| {% endblock formsave_msg %} |
| |
| <div class="block block-form"> |
| <div class="block-form-title"> |
| <span class="title">{{ page_name }}</span> |
| <span class="req">* fields required</span> |
| </div> |
| {% if form_below_header_msg %} |
| {{ form_below_header_msg.render }} |
| {% endif %} |
| {% block form_instruction %} |
| {% endblock form_instruction %} |
| <form action="{{ action_url|default:'#' }}" |
| {% if is_multipart %}enctype="multipart/form-data"{% endif %} |
| method="post" class="form-create-task clearfix"> |
| {% for form in forms %} |
| {{ form.render }} |
| {% endfor %} |
| |
| <div class="form-row form-row-buttons"> |
| {% block form_button %} |
| <input value="{{button_value|default:'Submit'}}" class="button" type="submit" name="{{button_name}}"> |
| {% endblock form_button %} |
| </div> |
| </form> |
| |
| </div> |
| {% endblock page_content %} |