34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
|
.block
|
||
|
.secondary-navigation
|
||
|
%ul.wat-cf
|
||
|
%li.first= link_to t("layout.users.list"), users_path
|
||
|
%li= link_to t("layout.users.new"), new_user_path
|
||
|
%li.active= link_to t("layout.users.show"), user_path
|
||
|
.content
|
||
|
.inner
|
||
|
%p
|
||
|
%b
|
||
|
Id
|
||
|
\:
|
||
|
= @user.id
|
||
|
%p
|
||
|
%b
|
||
|
= t("activerecord.attributes.user.name")
|
||
|
\:
|
||
|
= @user.name
|
||
|
%p
|
||
|
%b
|
||
|
= t("activerecord.attributes.user.email")
|
||
|
\:
|
||
|
= @user.email
|
||
|
%p
|
||
|
%b
|
||
|
= t("activerecord.attributes.user.created_at")
|
||
|
\:
|
||
|
= @user.created_at
|
||
|
.wat-cf
|
||
|
= link_to image_tag("web-app-theme/icons/application_edit.png", :alt => t("layout.edit")) + " " + t("layout.edit"), edit_user_path(@user), :class => "button"
|
||
|
= link_to image_tag("web-app-theme/icons/cross.png", :alt => t("layout.delete")) + " " + t("layout.delete"), user_path(@user), :method => "delete", :class => "button", :confirm => t("layout.users.confirm_delete")
|
||
|
|
||
|
- content_for :sidebar, render(:partial => 'sidebar')
|