~daker/loco-team-portal/fix.777098

« back to all changes in this revision

Viewing changes to loco_directory/templates/events/global_event_new.html

  • Committer: Tarmac
  • Author(s): Adnane Belmadiaf
  • Date: 2013-02-18 21:46:11 UTC
  • mfrom: (611.1.2 fix.forms)
  • Revision ID: tarmac@geekpad-20130218214611-wb9dt5w7ouuamjlu
[r=] Fixed the forms style

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
{% block page_name %}{% trans "New Global Event" %}{% endblock %}
5
5
 
6
6
{% block extrahead %}{{ block.super }}
7
 
{{form.media}}
8
 
<script type="text/javascript" src="{{MEDIA_URL}}js/colortip-1.0-jquery.js"></script>
9
 
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/colortip-1.0-jquery.css"/>
10
 
{% endblock %}
11
 
 
12
 
{% block extrafooter %}
13
 
<script type="text/javascript"><!--
14
 
$(document).ready(function(){
15
 
    $('span[rel*=help]').colorTip({color:'orange'});
16
 
});
17
 
--></script>
 
7
{{ form.media }}
18
8
{% endblock %}
19
9
 
20
10
{% block content %}
21
11
<div class="row">
22
 
<section class="span-9">
23
 
    <form action="." method="post">{% csrf_token %}
24
 
        <fieldset>
25
 
            <h3>{% trans "Add new Global Event" %}</h3>
26
 
            {{ form.as_template }}
27
 
        </fieldset>
28
 
            {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
29
 
            <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 
30
 
    </form>
31
 
</section>
 
12
    <section class="span-9">
 
13
        <div class="box_content">
 
14
            <div class="pagelet">
 
15
                <form action="." method="post" class="form">{% csrf_token %}
 
16
                    <h2>{% trans "Add new Global Event" %}</h2>
 
17
                    {{ form.as_template }}
 
18
                    {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
 
19
                    <input type="submit" name="submit" value="{% trans "Submit" %}" class="btn" />
 
20
                </form>
 
21
            </div>
 
22
        </div>
 
23
    </section>
32
24
</div>
33
 
 
34
25
{% endblock %}