Fixes #1081, Add more profile info on user Profile
This commit is contained in:
parent
7ea168fef4
commit
18d0f6215b
9 changed files with 133 additions and 25 deletions
6
app/views/users/_social_code_fields.html.haml
Normal file
6
app/views/users/_social_code_fields.html.haml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
= semantic_form_for(user, url: user_path(user.id), remote: true) do |f|
|
||||
= f.input :github, type: :url, as: :string, hint: 'e.g http://github.com/osem'
|
||||
= f.input :gitlab, type: :url, as: :string, hint: 'e.g http://gitlab.com/osem'
|
||||
= f.input :savannah, type: :url, as: :string, hint: 'e.g http://savannah.gnu.org/osem'
|
||||
= f.input :gna, type: :url, label: 'Gna', as: :string, hint: 'e.g http://gna.com/osem'
|
||||
= f.action :submit, as: :button, label: 'Update', button_html: {class: 'btn btn-primary'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue