blob: 8e54ac18a6862dd495f913819cfa5374be55eff5 [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="/{{ css_path }}/forms.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/{{ css_path }}/uniform.default.css" />
{% endblock stylesheets %}
{% block page_content %}
<!-- begin form -->
{% block open_form %}
<form action="{{ action_url|default:'#' }}"
{% if is_multipart %}enctype="multipart/form-data"{% endif %}
method="post" id="form" class="form-register">
{% endblock open_form %}
{% include "forms/_data_saved_message.html" %}
{% if form_top_msg %}
{{ form_top_msg.render }}
{% endif %}
{% block form_header_msg %}
<h2 id="form-register-title">
{% if form_header_msg %}
{{ form_header_msg }}
{% else %}
{{ page_name }}
{% endif %}
</h2><p id="form-register-req" class="req">* fields required</p>
{% endblock form_header_msg %}
{% if form_below_header_msg %}
{{ form_below_header_msg.render }}
{% endif %}
{% for form in forms %}
{{ form.render }}
{% endfor %}
{% block form_button %}
<div id="form-register-fieldset-button-row" class="row button-row">
<input id="form-register-submit" type="submit" value="Submit" class="submit" />
</div>
{% endblock form_button %}
</form>
<!-- end form -->
{% endblock page_content %}