summaryrefslogtreecommitdiff
path: root/app/views/users/_contact_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/_contact_email.html.haml')
-rw-r--r--app/views/users/_contact_email.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/users/_contact_email.html.haml b/app/views/users/_contact_email.html.haml
new file mode 100644
index 0000000..ad768b7
--- /dev/null
+++ b/app/views/users/_contact_email.html.haml
@@ -0,0 +1,9 @@
+%legend= t(:contact_email)
+= simple_form_for @user, {:validate => true} do |f|
+ %p= t(:contact_email_info)
+ = f.input :contact_email, :label => false
+ -# %p= t(:public_key)
+ -# = f.text_area :contact_email_key, {:class => "full-width", :rows => 4}
+ .control-group
+ .controls
+ = f.submit t(:save), :class => 'btn', :data => {"loading-text" => "Saving..."} \ No newline at end of file