Created
November 26, 2015 18:23
-
-
Save luiscberrocal/4843d335d159def54dda to your computer and use it in GitHub Desktop.
Bootstrap 3 Model Django Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% load staticfiles bootstrap3 i18n %} | |
{% block extra_css %} | |
{{ form.media }} | |
{% endblock extra_css %} | |
{% block page_title %} | |
$PAGE_TITLE | |
{% endblock page_title %} | |
{% block content %} | |
<form action="" method="post">{% csrf_token %} | |
<div class="tab-content"> | |
<div role="tabpanel" class="tab-pane active" id="project-info"> | |
{% bootstrap_form form %} | |
</div> | |
</form> | |
{% endblock content %} | |
{% block extra_js %} | |
{% endblock extra_js %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment