1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-03-01 01:03:23 -05:00
BikeShed-1/app/views/bike_models/show.html.haml

16 lines
443 B
Plaintext
Raw Normal View History

2012-12-08 16:56:50 -05:00
- model_class = bike_model.class
.page-header
%h1=t '.title', :default => model_class.model_name.human
%p
%strong= model_class.human_attribute_name(:model) + ':'
%br
= bike_model.model
%p
%strong= model_class.human_attribute_name(:bike_brand_id) + ':'
%br
= link_to bike_model.brand, bike_brand_path(bike_model.brand)
.form-actions
= link_to t('.back', :default => t("helpers.links.back")), bike_models_path, :class => 'btn'