Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "base.html" %}
- {% block contents %}
- <h2 class='h2'>{{ title }}</h2>
- <h4>{{ subtitle }}</h4>
- {% if errors %}
- <div style='color:red'>
- {{ errors }}
- </div>
- {% endif %}
- <form action="{{ request.path }}" method="post">
- {% csrf_token %}
- {% for field in form %}
- <div class='input-inline'>
- {{ field.label_tag }}
- {{ field }}
- </div>
- {% endfor %}
- <div class='input-inline'><input type="submit" value="Cadastrar" /></div>
- </form>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment