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.
9 lines
289 B
9 lines
289 B
- # we should render errors here
|
|
- if @record && @record.errors.any?
|
|
.form-errors
|
|
%ul
|
|
- @record.errors.full_messages.each do |msg|
|
|
- # not sure how this works, we may have to pull
|
|
- # some sort of error id out of this and construct
|
|
- # an I18n translation key
|
|
%li=msg
|