Last active
December 14, 2015 19:19
-
-
Save dizpers/5135994 to your computer and use it in GitHub Desktop.
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
<div id="modalHelp" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="modalHelpLabel" aria-hidden="true"> | |
<div class="modal-header"> | |
<h3 id="modalHelpLabel">Help</h3> | |
</div> | |
<div class="modal-body"> | |
{% form_from_page slug="help" as help_form %} | |
{% load widget_tweaks %} | |
<form action="." method='POST' class="row-fluid"> | |
{{ help_form.errors }} | |
{% csrf_token %} | |
{% for hidden in help_form.hidden_fields %} | |
{{ hidden }} | |
{% endfor %} | |
{% for field in help_form.visible_fields %} | |
<fieldset class="control-group"> | |
<label class="control-label" for="id_{{ field.name }}">{{ field.label }}</label> | |
<div class="controls"> | |
{% render_field field class="span12" %} | |
<p class="help-text">{{ field.help_text }} </p> | |
</div> | |
</fieldset> | |
{% endfor %} | |
</form> | |
</div> | |
<div class="modal-footer"> | |
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> | |
<button class="btn btn-primary" id="modalOk">Send</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment