blob: ca1585b1eb0648cdfeb4741d1251e17385994241 [file] [log] [blame]
{% 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/uniform.default.css" />
{% endblock stylesheets %}
{% block page_content %}
{% block formsave_msg %}
{% if posted %}
<div class="block block-user-message">
{% if error %}
<p>Sorry, we could not save your data. Please fix the errors mentioned below.</p>
{% else %}
<p>Data saved successfully.</p>
{% endif %}
</div>
{% endif %}
{% 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>
{% block form_instruction %}
{% endblock form_instruction %}
<form action="#" 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 %}