app/soc/templates/soc/site/home/edit.html
changeset 347 52676c696cd4
parent 346 a454e8f02088
child 348 fe527c17760c
equal deleted inserted replaced
346:a454e8f02088 347:52676c696cd4
     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 
       
    16 {% block scripts %}
       
    17 	<script type="text/javascript" src="/tiny_mce/tiny_mce_src.js"></script>
       
    18 {% endblock %}
       
    19 
       
    20 {% block page_title %}Site Settings{% endblock %}
       
    21 {% block header_title %}
       
    22 Site Settings
       
    23 {% endblock %}
       
    24 
       
    25 {% block body %}
       
    26 <p>
       
    27 <p>
       
    28 {% block instructions %}
       
    29 Please use this form to set basic site settings.
       
    30 {% endblock %}
       
    31 </p>
       
    32 <form method="POST">
       
    33  <table>
       
    34 	{{ document_form.as_table }}
       
    35 	{{ settings_form.as_table }}
       
    36   <tr>
       
    37    <td colspan="4">&nbsp;</td>
       
    38   </tr>
       
    39    <table>
       
    40    <tr>
       
    41      {% block submit_buttons %}
       
    42     <td> 
       
    43      <input style="font-weight: bold" type="submit" value="Save Changes"/></span>
       
    44     </td>
       
    45     <td>
       
    46      <input type="button" onclick="location.href='/'" value="Cancel"/>
       
    47     </td>
       
    48     {% endblock %}
       
    49    </tr>
       
    50   </table>
       
    51 </form>
       
    52 </p>
       
    53 {% endblock %}