Fix #1406. Validate password only on create

This commit is contained in:
msdundar 2017-03-26 02:55:19 +03:00
parent a659cb615a
commit acbc7df96a
3 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,7 @@
.control-label
= "Avatar"
= image_tag(@user.gravatar_url(size: '48'), title: "Yo #{@user.name}!", alt: '')
= link_to 'Change your avatar here', 'https://gravatar.com'
= link_to 'Change your avatar here', 'https://gravatar.com', target: :_blank
= f.input :affiliation, as: :string,
hint: 'This could be a company, a user group, or nothing at all.'
= f.input :biography, input_html: { rows: 5, data: { provide: 'markdown-editable' } },