mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.1 KiB
74 lines
2.1 KiB
12 years ago
|
- model_class = user.class
|
||
|
.page-header
|
||
|
%h1=t '.title', :default => model_class.model_name.human
|
||
|
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:email) + ':'
|
||
|
%br
|
||
|
= user.email
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:encrypted_password) + ':'
|
||
|
%br
|
||
|
= user.encrypted_password
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:reset_password_token) + ':'
|
||
|
%br
|
||
|
= user.reset_password_token
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:reset_password_sent_at) + ':'
|
||
|
%br
|
||
|
= user.reset_password_sent_at
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:remember_created_at) + ':'
|
||
|
%br
|
||
|
= user.remember_created_at
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:sign_in_count) + ':'
|
||
|
%br
|
||
|
= user.sign_in_count
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:current_sign_in_at) + ':'
|
||
|
%br
|
||
|
= user.current_sign_in_at
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:last_sign_in_at) + ':'
|
||
|
%br
|
||
|
= user.last_sign_in_at
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:current_sign_in_ip) + ':'
|
||
|
%br
|
||
|
= user.current_sign_in_ip
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:last_sign_in_ip) + ':'
|
||
|
%br
|
||
|
= user.last_sign_in_ip
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:failed_attempts) + ':'
|
||
|
%br
|
||
|
= user.failed_attempts
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:unlock_token) + ':'
|
||
|
%br
|
||
|
= user.unlock_token
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:locked_at) + ':'
|
||
|
%br
|
||
|
= user.locked_at
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:first_name) + ':'
|
||
|
%br
|
||
|
= user.first_name
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:last_name) + ':'
|
||
|
%br
|
||
|
= user.last_name
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:nickname) + ':'
|
||
|
%br
|
||
|
= user.nickname
|
||
|
|
||
|
.form-actions
|
||
|
= link_to t('.back', :default => t("helpers.links.back")), users_path, :class => 'btn'
|
||
|
= link_to t('.edit', :default => t("helpers.links.edit")), edit_user_path(user), :class => 'btn'
|
||
|
= link_to t('.destroy', :default => t("helpers.links.destroy")), user_path(user), :method => "delete", :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')), :class => 'btn btn-danger'
|