Bike!Bike! Website!
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.
 
 
 
 
 
 

19 lines
546 B

= form_for @workshop_facilitator do |f|
- if @workshop_facilitator.errors.any?
#error_explanation
%h2= "#{pluralize(@workshop_facilitator.errors.count, "error")} prohibited this workshop_facilitator from being saved:"
%ul
- @workshop_facilitator.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :user_id
= f.number_field :user_id
.field
= f.label :workshop_id
= f.number_field :workshop_id
.field
= f.label :role
= f.text_field :role
.actions
= f.submit 'Save'