Commit 9b469d9b4a018cd65112258c44969d0e8c7e12da
Committed by
Antonio Terceiro
1 parent
ae0014f2
Exists in
master
and in
29 other branches
Partially fix send_email plugin to work with Rails 3
Signed-off-by: Junior Silva <juniorsilva1001@gmail.com> Signed-off-by: Antonio Terceiro <terceiro@colivre.coop.br>
Showing
5 changed files
with
15 additions
and
10 deletions
Show diff stats
plugins/send_email/controllers/send_email_plugin_admin_controller.rb
plugins/send_email/lib/send_email_plugin.rb
plugins/send_email/views/send_email_plugin_admin/index.html.erb
0 → 100644
... | ... | @@ -0,0 +1,9 @@ |
1 | +<h1><%= _("SendEmailPlugin's config") %></h1> | |
2 | + | |
3 | +<%= form_for :environment, :url => {:action => 'index'}, :html => {:method => 'post'} do |f| %> | |
4 | + <%= labelled_form_field(_("E-Mail addresses you want to allow to send"), f.text_area(:send_email_plugin_allow_to, :rows => 8)) %> | |
5 | + <small><%= _('(list of email addresses separated by comma)') %></small> | |
6 | + <% button_bar do %> | |
7 | + <%= submit_button 'save', _('Save'), :cancel => {:controller => 'plugins'} %> | |
8 | + <% end %> | |
9 | +<% end %> | ... | ... |
plugins/send_email/views/send_email_plugin_admin/index.rhtml
... | ... | @@ -1,9 +0,0 @@ |
1 | -<h1><%= _("SendEmailPlugin's config") %></h1> | |
2 | - | |
3 | -<%= form_for :environment, :url => {:action => 'index'}, :html => {:method => 'post'} do |f| %> | |
4 | - <%= labelled_form_field(_("E-Mail addresses you want to allow to send"), f.text_area(:send_email_plugin_allow_to, :rows => 8)) %> | |
5 | - <small><%= _('(list of email addresses separated by comma)') %></small> | |
6 | - <% button_bar do %> | |
7 | - <%= submit_button 'save', _('Save'), :cancel => {:controller => 'plugins'} %> | |
8 | - <% end %> | |
9 | -<% end %> |