app/soc/templates/soc/request/create.html
changeset 1084 9c4221f7b747
child 1186 da7269eb2cfa
equal deleted inserted replaced
1083:b8018d7a9f23 1084:9c4221f7b747
       
     1 {% extends "soc/base.html" %}
       
     2 {% comment %}
       
     3 Licensed under the Apache License, Version 2.0 (the "License");
       
     4 you may not use this file except in compliance with the License.
       
     5 You may obtain a copy of the License at
       
     6 
       
     7   http://www.apache.org/licenses/LICENSE-2.0
       
     8 
       
     9 Unless required by applicable law or agreed to in writing, software
       
    10 distributed under the License is distributed on an "AS IS" BASIS,
       
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    12 See the License for the specific language governing permissions and
       
    13 limitations under the License.
       
    14 {% endcomment %}
       
    15 {% load forms_helpers %}
       
    16 
       
    17 {% block scripts %}
       
    18 	<script type="text/javascript" src="/tiny_mce/tiny_mce_src.js"></script>
       
    19 {% endblock %}
       
    20 {% block header_title %}
       
    21 {{ page_name }}
       
    22 {% endblock %}
       
    23 
       
    24 {% block body %}
       
    25 <p>
       
    26 <p>
       
    27 {% block instructions %}
       
    28 {{instruction_message}}
       
    29 {% endblock %}
       
    30 {% if error_message %}
       
    31  <div class="error">
       
    32  {{error_message|safe}}
       
    33  </div>
       
    34 {% endif %}
       
    35 </p>
       
    36 <form method="POST">
       
    37   <table>
       
    38     {% block form_table %}
       
    39       {% as_table form %}
       
    40     {% endblock form_table %}
       
    41   </table>
       
    42   <table>
       
    43   <tr>
       
    44    <td colspan="4">&nbsp;</td>
       
    45   </tr>
       
    46   <tr>
       
    47     {% block submit_buttons %}
       
    48    <td> 
       
    49     <input style="font-weight: bold" type="submit" value="Submit"/></span>
       
    50    </td>
       
    51    <td>
       
    52    <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
       
    53    </td>
       
    54  </table>
       
    55 </form>
       
    56 </p>
       
    57 {% endblock submit_buttons %}
       
    58 {% endblock body %}