summaryrefslogtreecommitdiff
path: root/arduino_blog/templates/submit-cfp.html
blob: 9d5c6f3b1130df8dec5db4a479ea9b86dcdf728b (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
{% extends "base.html" %}

{% load widget_tweaks %}
{% load static %}
{% block content %}

<section id="view_proposal" class="section view_proposal">
    <div class="container">
        <br>
            <center>
                <h1>Submit Proposal</h1>
            </center>
            <hr>
                <div class="row">
                 <form  action="" method=POST enctype="multipart/form-data">
                    <div class="form-group">
                        <label for="name_of_author">Name of the author
                            <span style="color:red;">*</span>:
                        </label>
                        <input class="form-control" id="your_name" type="text" name="your_name" value="{{ user.first_name }} {{ user.last_name }}" disabled>
                 
                    </div>
                    <div class="form-group">
                        <label for="about_the_author">About the author
                            <span style="color:red;">*</span>:
                        </label>
                 {% render_field proposal_form.about_the_author %}
                    </div>
                    <div class="form-group">
                        <label for="title_of_the_project">Title of the Project
                            <span style="color:red;">*</span>:
                        </label>
                 {% render_field proposal_form.title_of_the_project %}
                    </div>
                    <div class="form-group">
                        <label for="abstract">Abstract (Min. 300 char.)
                            
                            <span style="color:red;">*</span>:
                        
                        </label>
                 {% render_field proposal_form.abstract %}
                        <label>Charater count:
                            <div id="charNum"></div>
                        </label>
                    </div>
                    <div class="form-group">
                        <label for="attachment">Attachments:</label>
                 {% render_field proposal_form.attachment %}
                    </div>
                    <div class="form-inline">
                        <div class="checkbox">
                        {% render_field proposal_form.terms_and_conditions %}
                            <label for="terms_and_conditions">I agree to the terms and conditions
                                <span style="color:red;">*</span>
                            </label>
                            
                        </div>
                    </div>
              {% csrf_token %}
                    <center>
                        <button id="subbtn" class="btn btn-info" type="submit" >Submit</button>
                        <a href="#" class="btn btn-info" role="button">Back</a>
                    </center>
                </form> 
                </div>
            </div>
        </section>
{% endblock %}