summaryrefslogtreecommitdiff
path: root/app/views/users/_contact_email.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-30 00:32:33 -0700
committerelijah <elijah@riseup.net>2015-04-30 00:32:33 -0700
commit63871baf6061668b162972193c55b5a8f7490797 (patch)
treeca8cd5fbab18cbe59b728a123f450140ed98f519 /app/views/users/_contact_email.html.haml
parentc3b133cb6f02003ab934e5008e108f489ace4158 (diff)
added support for email notifications of ticket changes
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