mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
edit brand show.html
This commit is contained in:
parent
2876a20148
commit
62c70f4388
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user