1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00
BikeShed-1/app/views/bike_models/_form.html.haml
2012-12-08 16:56:50 -05:00

13 lines
518 B
Plaintext

= form_for bike_model, :html => { :class => 'form-horizontal' } do |f|
.control-group
= f.label :model, :class => 'control-label'
.controls
= f.text_field :model, :class => 'text_field'
.control-group
= f.label :bike_brand_id, :class => 'control-label'
.controls
= f.number_field :bike_brand_id, :class => 'number_field'
.form-actions
= f.submit nil, :class => 'btn btn-primary'
= link_to t('.cancel', :default => t("helpers.links.cancel")), bike_models_path, :class => 'btn'