Fixes #1081, Add more profile info on user Profile

This commit is contained in:
Chaitanya 2017-03-10 00:36:22 +05:30
parent 7ea168fef4
commit 18d0f6215b
9 changed files with 133 additions and 25 deletions

View 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'}