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.
14 lines
715 B
14 lines
715 B
12 years ago
|
- model_class = user_action.class
|
||
|
.page-header
|
||
|
%h1=t '.title', :default => model_class.model_name.human
|
||
|
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:action) + ':'
|
||
|
%br
|
||
|
= user_action.action
|
||
|
|
||
|
.form-actions
|
||
|
= link_to t('.back', :default => t("helpers.links.back")), acts_as_loggable_user_actions_path, :class => 'btn'
|
||
|
= link_to t('.edit', :default => t("helpers.links.edit")), edit_acts_as_loggable_user_action_path(user_action), :class => 'btn'
|
||
|
= link_to t('.destroy', :default => t("helpers.links.destroy")), acts_as_loggable_user_action_path(user_action), :method => "delete", :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')), :class => 'btn btn-danger'
|