mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix proposal error message. Username -> name.
This commit is contained in:
parent
2c98ba9711
commit
2f080fb458
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ class Event < ActiveRecord::Base
|
|||
|
||||
def name_and_biography_exists
|
||||
errors.add(:biography, "cant' be blank") if submitter.biography.blank?
|
||||
errors.add(:username, " can't be blank") if submitter.name.blank?
|
||||
errors.add(:name, " can't be blank") if submitter.name.blank?
|
||||
end
|
||||
|
||||
# TODO: create a module to be mixed into model to perform same operation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue