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
611 B
19 lines
611 B
= form_for @workshop_requested_resource do |f|
|
|
- if @workshop_requested_resource.errors.any?
|
|
#error_explanation
|
|
%h2= "#{pluralize(@workshop_requested_resource.errors.count, "error")} prohibited this workshop_requested_resource from being saved:"
|
|
%ul
|
|
- @workshop_requested_resource.errors.full_messages.each do |msg|
|
|
%li= msg
|
|
|
|
.field
|
|
= f.label :workshop_id
|
|
= f.number_field :workshop_id
|
|
.field
|
|
= f.label :workshop_resource_id
|
|
= f.number_field :workshop_resource_id
|
|
.field
|
|
= f.label :status
|
|
= f.text_field :status
|
|
.actions
|
|
= f.submit 'Save'
|
|
|