summaryrefslogtreecommitdiff
path: root/static/website/templates/event-ticket.html
blob: 19902b3478408fbcf893e0f5332b2847b47ef305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{% extends "base.html" %} {% load static %} {% load widget_tweaks %} {% block content %}
<section id="event_ticket" class="section event_ticket">
    <div class="container-fluid">
        <a style="color:red; ">{{ render_field.errors }}</a>
        <div class="row">
                <form action="{% url 'website:ticket_booking_confirm' %}" method="POST">
                {% csrf_token %}
{% if form.errors %}
    {% for field in form %}
        {% for error in field.errors %}
            <div class="alert alert-danger">
                <strong>{{ error|escape }}</strong>
            </div>
        {% endfor %}
    {% endfor %}
    {% for error in form.non_field_errors %}
        <div class="alert alert-danger">
            <strong>{{ error|escape }}</strong>
        </div>
    {% endfor %}
{% endif %}
                 <a style="color:red; ">{{ render_field.errors }}</a>
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="registration_type">Registration Type</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.ticket_type %} {% render_field form.ticket_amount %} </div>
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="attendee_type">Attendee Type</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">
{% for choice in form.attendee_type %}
  <div class="select">{{ choice.tag }}   {{ choice.choice_label }}</div> {# Or any other type you want. #}
{% endfor %}</div>
<div class="col-xs-12 col-md-3 text-left">



                        <label for="ticket_price">Ticket Price</label><span style="color:red;"></span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.ticket_price %} + 18% GST </div>
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="name">Full Name:</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.first_name %} {% render_field form.last_name %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                     <label for="email">Email:</label><span style="color:red;">*</span>
                        </div>
                    <div class="col-xs-6 col-md-9">{% render_field form.email %}</div>


                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="gender">Gender</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.gender %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="contact">Contact number</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.phone_number %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="full_address">Full address</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.full_address %}</div>
                    
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="city">City</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.city %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="state">State</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.state %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="pincode">Pincode</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.pincode %}</div>
                    

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="institute">Institute/ Organization/ Company</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9 ">{% render_field form.institute %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="gstin">GST No.(Optional)</label></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.gstin %}</div>
                    
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="job_fair">Willing to attend a job fair</label><span style="color:red;">*</span></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.job_fair %}</div>
                    
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="tshirt">T-shirt (addons)</label></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.req_tshirt %}</div>
                    
                    <div class="col-xs-12 col-md-3 text-left tshirt-size">
                        <label for="tshirt">T-shirt size</label></div>
                    <div class="col-xs-6 col-md-9 tshirt-size">{% render_field form.tshirt_size %} </div>
                    
                    <div class="col-xs-12 col-md-3 text-left tshirt-price"> 
                        <label for="tshirt_price">T-shirt price</label><span style="color:red;"></span></div>
                    <div class="col-xs-6 col-md-9 tshirt-price">{% render_field form.tshirt_price %} + 18% GST</div>
                    
                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="tshirt">Accomodation (Subject to availability )</label></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.accomodation %}</div>

                    <div class="col-xs-12 col-md-3 text-left">
                        <label for="tshirt">Total price whithout GST </label></div>
                    <div class="col-xs-6 col-md-9">{% render_field form.total_amount %}</div>
                    
                    <div class="col-xs-12 col-md-3"></div>
                    <div class="col-xs-6 col-md-9"><button class="btn btn-primary" type="submit">Submit</button></div>

            </form>
        </div>
    </div>
</section>
{% endblock %}