mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.8 KiB
48 lines
1.8 KiB
= form_for bike, :html => { :class => 'form-horizontal' } do |f|
|
|
.control-group
|
|
= f.label :serial_number, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :serial_number, :class => 'text_field'
|
|
.control-group
|
|
= f.label :bike_brand_id, :class => 'control-label'
|
|
.controls
|
|
= f.number_field :bike_brand_id, :class => 'number_field'
|
|
.control-group
|
|
= f.label :bike_model_id, :class => 'control-label'
|
|
.controls
|
|
= f.number_field :bike_model_id, :class => 'number_field'
|
|
.control-group
|
|
= f.label :color, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :color, :class => 'text_field'
|
|
.control-group
|
|
= f.label :bike_style_id, :class => 'control-label'
|
|
.controls
|
|
= f.number_field :bike_style_id, :class => 'number_field'
|
|
.control-group
|
|
= f.label :seat_tube_height, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :seat_tube_height, :class => 'text_field'
|
|
.control-group
|
|
= f.label :top_tube_length, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :top_tube_length, :class => 'text_field'
|
|
.control-group
|
|
= f.label :wheel_size, :class => 'control-label'
|
|
.controls
|
|
= f.number_field :wheel_size, :class => 'number_field'
|
|
.control-group
|
|
= f.label :value, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :value, :class => 'text_field'
|
|
.control-group
|
|
= f.label :bike_condition_id, :class => 'control-label'
|
|
.controls
|
|
= f.text_field :bike_condition_id, :class => 'text_field'
|
|
.control-group
|
|
= f.label :bike_status_id, :class => 'control-label'
|
|
.controls
|
|
= f.number_field :bike_status_id, :class => 'number_field'
|
|
.form-actions
|
|
= f.submit nil, :class => 'btn btn-primary'
|
|
= link_to t('.cancel', :default => t("helpers.links.cancel")), bikes_path, :class => 'btn'
|
|
|