summaryrefslogtreecommitdiff
path: root/users/app/views/users/_email_aliases.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/users/_email_aliases.html.haml')
-rw-r--r--users/app/views/users/_email_aliases.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/app/views/users/_email_aliases.html.haml b/users/app/views/users/_email_aliases.html.haml
new file mode 100644
index 0000000..54eac0f
--- /dev/null
+++ b/users/app/views/users/_email_aliases.html.haml
@@ -0,0 +1,10 @@
+%legend= t(:email_aliases)
+%ul
+ - @user.email_aliases.each do |email|
+ %li= email
+= email_alias_form do |f|
+ =f.input :email, :placeholder => "alias@#{request.domain}"
+ .pull-right
+ %button{:type => :submit, :class => 'btn'}
+ %i.icon-plus
+ Add Email Alias