Browse Source

Replace bootstrap by crispy-forms + bootstrap

pull/6/head
Edward Ribeiro 10 years ago
parent
commit
abcee7398c
  1. 21
      templates/sessao/sessaoplenaria_form.html

21
templates/sessao/sessaoplenaria_form.html

@ -1,26 +1,11 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n bootstrap3 %}
{% load i18n bootstrap3 crispy_forms_tags %}
{% block title %}SAPL{% endblock %} {% block title %}SAPL{% endblock %}
{% block content %} {% block content %}
<div id="content-main"> <div id="content-main">
{% crispy form %}
<p>Sessão Legislativa</p>
<a href="{% url 'sessao_list' %}" class="btn btn-default">Voltar</a>
{# Display a form #}
<form method="post" class="form">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">
{% bootstrap_icon "star" %} Submit
</button>
{% endbuttons %}
</form>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save