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.
24 lines
565 B
24 lines
565 B
= form_for([@school, @recipient_list]) do |f|
|
|
- if @recipient_list.errors.any?
|
|
#error_explanation
|
|
%h2
|
|
= pluralize(@recipient_list.errors.count, "error")
|
|
prohibited this recipient_list from being saved:
|
|
%ul
|
|
- @recipient_list.errors.full_messages.each do |msg|
|
|
%li= msg
|
|
.field
|
|
= f.label :name
|
|
%br/
|
|
= f.text_field :name
|
|
.field
|
|
= f.label :description
|
|
%br/
|
|
= f.text_area :description
|
|
.field
|
|
= f.label :recipient_ids
|
|
%br/
|
|
= f.text_area :recipient_ids
|
|
.actions
|
|
= f.submit
|