project/templates/proceedings/submit.html
changeset 96 178b89a3ca4f
parent 93 e86755df35da
child 123 d4799b7159e4
equal deleted inserted replaced
95:f94e0cd9a862 96:178b89a3ca4f
     9   /** Init autosuggest on Search Input **/
     9   /** Init autosuggest on Search Input **/
    10   jQuery(function() {
    10   jQuery(function() {
    11 
    11 
    12     // Set autosuggest options with all plugins activated
    12     // Set autosuggest options with all plugins activated
    13     var options = {
    13     var options = {
    14       script:"{% url kiwipycon_get_usernames %}?limit=10&",
    14       script:"{% url scipycon_get_usernames %}?limit=10&",
    15       varname:"input",
    15       varname:"input",
    16       json:true,            // Returned response type
    16       json:true,            // Returned response type
    17       shownoresults:true,       // If disable, display nothing if no results
    17       shownoresults:true,       // If disable, display nothing if no results
    18       noresults:"No Results",     // String displayed when no results
    18       noresults:"No Results",     // String displayed when no results
    19       maxresults:8,         // Max num results displayed
    19       maxresults:8,         // Max num results displayed
    39 {% block content %}
    39 {% block content %}
    40   <h1>Submit Proceedings paper</h1>
    40   <h1>Submit Proceedings paper</h1>
    41 
    41 
    42   {% include '_errors.html' %}
    42   {% include '_errors.html' %}
    43 
    43 
    44   <form action="{% if id %}{% url kiwipycon_submit_proceedings id %}{% else %}{% url kiwipycon_submit_proceedings %}{% endif %}" method="post">
    44   <form action="{% if id %}{% url scipycon_submit_proceedings id %}{% else %}{% url scipycon_submit_proceedings %}{% endif %}" method="post">
    45     {% if not user.is_authenticated %}
    45     {% if not user.is_authenticated %}
    46     <fieldset>
    46     <fieldset>
    47       <legend>Are you a member of this site?</legend>
    47       <legend>Are you a member of this site?</legend>
    48       <table class="kiwipycon-default required">{{ login_form }}</table>
    48       <table class="scipycon-default required">{{ login_form }}</table>
    49       <input type="hidden" name="action" value="login" />
    49       <input type="hidden" name="action" value="login" />
    50       <button class="button left" type="submit">Login</button>
    50       <button class="button left" type="submit">Login</button>
    51     </fieldset>
    51     </fieldset>
    52   </form>
    52   </form>
    53   <br />
    53   <br />
    54   <form action="{% url kiwipycon_submit_proceedings id %}" 
    54   <form action="{% url scipycon_submit_proceedings id %}" 
    55     enctype="multipart/form-data" method="post">
    55     enctype="multipart/form-data" method="post">
    56     <fieldset>
    56     <fieldset>
    57       <legend>User Registration</legend>
    57       <legend>User Registration</legend>
    58       <table class="kiwipycon-default required">{{ register_form }}</table>
    58       <table class="scipycon-default required">{{ register_form }}</table>
    59       <input type="hidden" name="action" value="register" />
    59       <input type="hidden" name="action" value="register" />
    60     </fieldset>
    60     </fieldset>
    61 
    61 
    62     {% endif %}
    62     {% endif %}
    63     <br />
    63     <br />
    64 
    64 
    65     <fieldset>
    65     <fieldset>
    66       <legend>Proceedings Paper Submission</legend>
    66       <legend>Proceedings Paper Submission</legend>
    67       <table class="kiwipycon-default required">
    67       <table class="scipycon-default required">
    68 		<tr>
    68 		<tr>
    69           <th>{{ proceedings_form.title.label }}</th>
    69           <th>{{ proceedings_form.title.label }}</th>
    70           <td>{{ proceedings_form.title.errors }}{{ proceedings_form.title }}</td>
    70           <td>{{ proceedings_form.title.errors }}{{ proceedings_form.title }}</td>
    71         </tr>
    71         </tr>
    72 		<tr>
    72 		<tr>