Browse Source

edit brand show.html

denney-disable-on-select
Jason Denney 12 years ago
parent
commit
62c70f4388
  1. 11
      app/views/bike_brands/show.html.haml

11
app/views/bike_brands/show.html.haml

@ -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…
Cancel
Save