{% extends "grid/base.html" %}
{% load url from future %}

{% load i18n %}
{% load crispy_forms_tags %}

{% block head_title %}{% trans "Add new grid" %}{% endblock %}

{% block body %}

    <h2>{% trans "Add new grid" %}</h2>
    
    {% blocktrans %}
    <p>Grids added here are publicly listed on the <a href="/grids">Grids Home Page</a>.</p>
    <p>Periodically, the {{ SITE_TITLE }} team will add some of these grids to the top navigation bar!</p>
    {% endblocktrans %}
    
    <form method="post">
        {% csrf_token %}
        <fieldset>
            {{ form|crispy }}
            <div class="form_block">
                <input class="btn btn-default" type="submit" name="add" value="{% trans "Add new grid »" %}">
            </div>            
        </fieldset>

    </form>

{% endblock %}

{% block extra_body %}
<script type="text/javascript">
    $(function() {          
        $('input#id_title').focus();
        
    });    
</script>      
{% endblock %}      
        

{% extends "grid/base.html" %}
{% load url from future %}

{% load i18n %}
{% load crispy_forms_tags %}

{% block body %}
<div class="container">
  <div class="row">
    <div class="col-lg-12">
      <h2>{% trans "Grid Form" %}</h2>
    
      <p>{% trans "Grids added here are publicly listed in the" %} <a href="/grids">{% trans "list of all grids" %}</a>.</p>
      <p>{% trans "Periodically, Daniel and Audrey will add some of these grids to the top navigation bar!" %}</p>
    
      <form method="post">
        {% csrf_token %}
        <fieldset>
          {{ form|crispy }}
          <div class="form_block">
            <input class="btn btn-default" type="submit" name="add" value="{% trans "Add new grid »" %}">
          </div>            
        </fieldset>
      </form>
    </div>
  </div>
</div>
{% endblock %}

{% block extra_body %}
<script type="text/javascript">
    $(function() {          
        $('input#id_title').focus();
        
    });    
</script>      
{% endblock %}      
        

Clean up add grid form.
Clean up add grid form.
