-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felipe Álvarez
committed
Jul 31, 2014
1 parent
869a22b
commit 357bae9
Showing
3 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% load i18n %} | ||
{% load subdomainurls %} | ||
{% load staticfiles %} | ||
<div class="modal-dialog modal-lg"> | ||
<div class="modal-content b-color"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | ||
<h4 class="modal-title" id="myModalLabel">{% blocktrans with person=answer.person message=answer.message.subject|linebreaksbr %}Update answer by {{person}} for message "{{ message }}"{% endblocktrans %}</h4> | ||
</div> | ||
<form action="{% url 'update_answer' pk=answer.pk %}" method="POST">{% csrf_token %} | ||
<div class="modal-body"> | ||
{{ form.non_field_errors }} | ||
<div class="fieldWrapper"> | ||
{{ form.content.errors }} | ||
<label for="id_subject">{{ form.content.label_tag }}</label> | ||
{{ form.content }} | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button> | ||
<button type="submit" class="btn btn-primary">{% trans "Update" %}</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> |
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