Commit b474180077afbdc5453cd6ee58b9de1fcfad89d6
1 parent
b5fc0487
Exists in
master
and in
2 other branches
Alterando o modal de deletar grupos de estudantes
Showing
1 changed file
with
21 additions
and
20 deletions
Show diff stats
students_group/templates/groups/delete.html
1 | -{% load i18n %} | 1 | +{% load static i18n permission_tags %} |
2 | 2 | ||
3 | +<!-- Modal (remember to change the ids!!!) --> | ||
3 | <div class="modal fade" id="topic" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> | 4 | <div class="modal fade" id="topic" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> |
4 | - <div class="modal-dialog" role="document"> | ||
5 | - <div class="modal-content"> | ||
6 | - <div class="modal-body"> | ||
7 | - <form id="delete_form" action="{% url 'groups:delete' group.slug %}" method="post"> | ||
8 | - {% csrf_token %} | ||
9 | - <h3>{% trans 'Are you sure you want delete the group' %}: {{ group }}?</h3> | ||
10 | - <p>{% trans 'With this action the group will no longer exist but your participants will still be attached to the subject.' %}</p> | ||
11 | - </form> | ||
12 | - </div> | ||
13 | - <div class="modal-footer"> | ||
14 | - <div class="pull-right"> | ||
15 | - <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Close" %}</button> | ||
16 | - </div> | ||
17 | - <div class="pull-left"> | ||
18 | - <button type="submit" form="delete_form" class="btn btn-success btn-raised">{% trans "Delete" %}</button> | ||
19 | - </div> | ||
20 | - </div> | ||
21 | - </div> | 5 | + <div class="modal-dialog" role="document"> |
6 | + <div class="modal-content"> | ||
7 | + <!-- Modal Body --> | ||
8 | + <div class="modal-body"> | ||
9 | + <!-- Put ONLY your content here!!! --> | ||
10 | + <form id="delete_form" action="{% url 'groups:delete' group.slug %}" method="post"> | ||
11 | + {% csrf_token %} | ||
12 | + <h3>{% trans 'Are you sure you want delete the group' %}: {{ group }}?</h3> | ||
13 | + <p>{% trans 'With this action the group will no longer exist but your participants will still be attached to the subject.' %}</p> | ||
14 | + </form> | ||
15 | + </div> | ||
16 | + <!-- Modal Footer --> | ||
17 | + <div id="delete-category-footer"class="modal-footer"> | ||
18 | + <!-- Don't remove that!!! --> | ||
19 | + <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Close" %}</button> | ||
20 | + <button type="submit" id="button" form="delete_form" class="btn btn-success btn-raised erase-button">{% trans "Delete" %}</button> | ||
21 | + </div> | ||
22 | </div> | 22 | </div> |
23 | -</div> | ||
24 | \ No newline at end of file | 23 | \ No newline at end of file |
24 | + </div> | ||
25 | +</div> |