Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profile/show.html.haml')
-rw-r--r--app/views/profile/show.html.haml25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/views/profile/show.html.haml b/app/views/profile/show.html.haml
index 12737ba8143..ef23a1692a1 100644
--- a/app/views/profile/show.html.haml
+++ b/app/views/profile/show.html.haml
@@ -6,3 +6,28 @@
%p
%b Email:
= @user.email
+
+%br
+
+= form_for @user, :url => profile_edit_path, :method => :put do |f|
+ -if @user.errors.any?
+ #error_explanation
+ %ul
+ - @user.errors.full_messages.each do |msg|
+ %li= msg
+
+ .div
+ = f.label :skype
+ %br
+ = f.text_field :skype
+ .div
+ = f.label :linkedin
+ %br
+ = f.text_field :linkedin
+ .div
+ = f.label :twitter
+ %br
+ = f.text_field :twitter
+ .actions
+ = f.submit 'Save', :class => "lbutton vm"
+