|
@ -7,5 +7,16 @@ |
|
|
%br |
|
|
%br |
|
|
= bike_brand.brand |
|
|
= bike_brand.brand |
|
|
|
|
|
|
|
|
|
|
|
%table.table.table-striped |
|
|
|
|
|
%thead |
|
|
|
|
|
%tr |
|
|
|
|
|
%th= model_class.human_attribute_name(:id) |
|
|
|
|
|
%th= model_class.human_attribute_name(:model) |
|
|
|
|
|
%tbody |
|
|
|
|
|
- bike_brand.models.each do |bike_model| |
|
|
|
|
|
%tr |
|
|
|
|
|
%td= link_to bike_model.id, bike_model_path(bike_model) |
|
|
|
|
|
%td= link_to bike_model, bike_model_path(bike_model) |
|
|
|
|
|
|
|
|
.form-actions |
|
|
.form-actions |
|
|
= link_to t('.back', :default => t("helpers.links.back")), bike_brands_path, :class => 'btn' |
|
|
= link_to t('.back', :default => t("helpers.links.back")), bike_brands_path, :class => 'btn' |
|
|