diff options
Diffstat (limited to 'app/helpers/email_aliases_helper.rb')
-rw-r--r-- | app/helpers/email_aliases_helper.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/helpers/email_aliases_helper.rb b/app/helpers/email_aliases_helper.rb new file mode 100644 index 0000000..b56b068 --- /dev/null +++ b/app/helpers/email_aliases_helper.rb @@ -0,0 +1,11 @@ +module EmailAliasesHelper + + def email_alias_form(options = {}) + simple_form_for [@user, EmailAlias.new()], + :html => {:class => "form-horizontal email-alias form"}, + :validate => true do |f| + yield f + end + end + +end |