summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorEvyW <evy_mcr@hotmail.com>2015-10-01 17:15:35 -0500
committerEvyW <evy_mcr@hotmail.com>2015-10-01 17:15:35 -0500
commit02c1e607bf8beb1f576307a7ad87f0cdbe3381c0 (patch)
tree33fbdb644b8e4fc47a1995a26d845db5b8608754 /app
parentdf62d292f5df6dffd8a0e621181632f276c0b304 (diff)
identing 2
Diffstat (limited to 'app')
-rw-r--r--app/views/users/_user.html.haml62
1 files changed, 31 insertions, 31 deletions
diff --git a/app/views/users/_user.html.haml b/app/views/users/_user.html.haml
index 9deb596..1cabcf5 100644
--- a/app/views/users/_user.html.haml
+++ b/app/views/users/_user.html.haml
@@ -1,32 +1,32 @@
%tr
- %td
- = link_to user.username, user
- %td
- = user.created_at.strftime("%d %b, %Y, %H:%M")
- %td
- = user.updated_at.strftime("%d %b, %Y, %H:%M")
- %td
- - if user.enabled
- %button.btn.btn-default{:"data-toggle" => "modal", :"data-target" => "#user-form-#{user.id}", :type => "button"}
- = t("actions.disable_user")
- .modal.fade.hide{:id => "user-form-#{user.id}"}
- .modal-dialog
- .modal-content
- .modal-header
- %button.close{:"data-dismiss" => "modal"} ×
- = t("actions.confirm_user_deactivation", username: user.username)
- .modal-footer
- = form_tag deactivate_user_path(user) do
- %input.btn.btn-default.btn-danger{:type => "submit", :value => "#{t("actions.disable_user")}"}
- - else
- %button.btn.btn-default{:"data-toggle" => "modal", :"data-target" => "#user-form-#{user.id}", :type => "button"}
- = t("actions.enable_user")
- .modal.fade.hide{:id => "user-form-#{user.id}"}
- .modal-dialog
- .modal-content
- .modal-header
- %button.close{:"data-dismiss" => "modal"} ×
- = t("actions.confirm_user_activation", username: user.username)
- .modal-footer
- = form_tag enable_user_path(user) do
- %input.btn.btn-default.btn-danger{:type => "submit", :value => "#{t("actions.enable_user")}"}
+ %td
+ = link_to user.username, user
+ %td
+ = user.created_at.strftime("%d %b, %Y, %H:%M")
+ %td
+ = user.updated_at.strftime("%d %b, %Y, %H:%M")
+ %td
+ - if user.enabled
+ %button.btn.btn-default{:"data-toggle" => "modal", :"data-target" => "#user-form-#{user.id}", :type => "button"}
+ = t("actions.disable_user")
+ .modal.fade.hide{:id => "user-form-#{user.id}"}
+ .modal-dialog
+ .modal-content
+ .modal-header
+ %button.close{:"data-dismiss" => "modal"} ×
+ = t("actions.confirm_user_deactivation", username: user.username)
+ .modal-footer
+ = form_tag deactivate_user_path(user) do
+ %input.btn.btn-default.btn-danger{:type => "submit", :value => "#{t("actions.disable_user")}"}
+ - else
+ %button.btn.btn-default{:"data-toggle" => "modal", :"data-target" => "#user-form-#{user.id}", :type => "button"}
+ = t("actions.enable_user")
+ .modal.fade.hide{:id => "user-form-#{user.id}"}
+ .modal-dialog
+ .modal-content
+ .modal-header
+ %button.close{:"data-dismiss" => "modal"} ×
+ = t("actions.confirm_user_activation", username: user.username)
+ .modal-footer
+ = form_tag enable_user_path(user) do
+ %input.btn.btn-default.btn-danger{:type => "submit", :value => "#{t("actions.enable_user")}"}