mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-01 01:03:23 -05:00
14 lines
691 B
Plaintext
14 lines
691 B
Plaintext
|
- model_class = bike_condition.class
|
||
|
.page-header
|
||
|
%h1=t '.title', :default => model_class.model_name.human
|
||
|
|
||
|
%p
|
||
|
%strong= model_class.human_attribute_name(:condition) + ':'
|
||
|
%br
|
||
|
= bike_condition.condition
|
||
|
|
||
|
.form-actions
|
||
|
= link_to t('.back', :default => t("helpers.links.back")), bike_conditions_path, :class => 'btn'
|
||
|
= link_to t('.edit', :default => t("helpers.links.edit")), edit_bike_condition_path(bike_condition), :class => 'btn'
|
||
|
= link_to t('.destroy', :default => t("helpers.links.destroy")), bike_condition_path(bike_condition), :method => "delete", :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')), :class => 'btn btn-danger'
|