osc15 ruby workshop fixing issue #650
This commit is contained in:
parent
01ba76e8c6
commit
1cbda33564
1 changed files with 4 additions and 1 deletions
|
|
@ -8,7 +8,10 @@
|
|||
= semantic_form_for(@user, url: user_path(@user.id)) do |f|
|
||||
= f.input :name, as: :string
|
||||
= f.input :nickname, as: :string
|
||||
= link_to 'Change your avatar here', 'https://secure.gravatar.com'
|
||||
.control-label
|
||||
= "Avatar"
|
||||
= image_tag(@user.gravatar_url(size: '48'), title: "Yo #{@user.name}!", :alt => '')
|
||||
= link_to 'Change your avatar here', 'https://gravatar.com'
|
||||
= 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, 'onkeyup' => "word_count(this, 'biography-count', 150)" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue