Commit b5fc048775eb789b3d824e0c9a800b41602a3e95

Authored by Jailson Dias
1 parent 7134e699

Alterando o modal de deletar comentarios e perguntas

Showing 1 changed file with 17 additions and 17 deletions   Show diff stats
mural/templates/mural/delete.html
1   -{% load i18n %}
  1 +{% load static i18n permission_tags %}
2 2  
3 3 <div class="modal-dialog" role="document">
4   - <div class="modal-content">
5   - <div class="modal-body">
6   - <form id="delete_form" action="{{ form_url }}" method="post">
7   - {% csrf_token %}
8   - <h4>{{ message }}</h4>
9   - </form>
10   - </div>
11   - <div class="modal-footer">
12   - <div class="pull-right">
13   - <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Close" %}</button>
14   - </div>
15   - <div class="pull-left">
16   - <button type="submit" form="delete_form" class="btn btn-success btn-raised">{% trans "Delete" %}</button>
17   - </div>
18   - </div>
  4 + <div class="modal-content">
  5 + <!-- Modal Body -->
  6 + <div class="modal-body">
  7 + <!-- Put ONLY your content here!!! -->
  8 + <form id="delete_form" action="{{ form_url }}" method="post">
  9 + {% csrf_token %}
  10 + <h4>{{ message }}</h4>
  11 + </form>
19 12 </div>
20   -</div>
21 13 \ No newline at end of file
  14 + <!-- Modal Footer -->
  15 + <div id="delete-category-footer"class="modal-footer">
  16 + <!-- Don't remove that!!! -->
  17 + <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Close" %}</button>
  18 + <button type="submit" id="button" form="delete_form" class="btn btn-success btn-raised erase-button">{% trans "Delete" %}</button>
  19 + </div>
  20 + </div>
  21 +</div>
... ...