Commit 652031df89a2f2c5b01d520f642b5ef8e04f92e2

Authored by ailsoncgt
1 parent 198a2738

Fixing bug in delete user modal #184

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
users/templates/list_users.html
@@ -90,8 +90,8 @@ @@ -90,8 +90,8 @@
90 {% trans 'Are you sure you want to delete the user' %} <b>{{acc.name}}</b>? 90 {% trans 'Are you sure you want to delete the user' %} <b>{{acc.name}}</b>?
91 </div> 91 </div>
92 <div class="modal-footer"> 92 <div class="modal-footer">
93 - <button type="button" class="btn btn-default" data-dismiss="modal">{% trans 'Cancel' %}</button>  
94 - <button type="button" class="btn btn-primary"> <a href="{% url 'users:delete' acc.username %}">{% trans 'Delete' %}</a></button> 93 + <a href="#" class="btn btn-raised btn-danger" data-dismiss="modal">{% trans 'Cancel' %}</a>
  94 + <a href="{% url 'users:delete' acc.username %}" class="btn btn-raised btn-success" style="margin-top: 0">{% trans 'Delete' %}</a>
95 </div> 95 </div>
96 </div> 96 </div>
97 </div> 97 </div>