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.
17 lines
417 B
17 lines
417 B
11 years ago
|
= form_for @event_type do |f|
|
||
|
- if @event_type.errors.any?
|
||
|
#error_explanation
|
||
|
%h2= "#{pluralize(@event_type.errors.count, "error")} prohibited this event_type from being saved:"
|
||
|
%ul
|
||
|
- @event_type.errors.full_messages.each do |msg|
|
||
|
%li= msg
|
||
|
|
||
|
.field
|
||
|
= f.label :slug
|
||
|
= f.text_field :slug
|
||
|
.field
|
||
|
= f.label :info
|
||
|
= f.text_area :info
|
||
|
.actions
|
||
|
= f.submit 'Save'
|