Skip to content

Commit

Permalink
Fixed to only show site templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed May 22, 2010
1 parent 4952c04 commit efccf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/triggered_action/_email.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</tbody>
<tbody id='template_message' <%= "style='display:none;'" if @action_options.send_type != 'template' %>>
<%= f.header 'Mail Template' %>
<%= f.select :mail_template_id, MailTemplate.find_select_options(:all,:order => 'name') %>
<%= f.select :mail_template_id, MailTemplate.site_template_options %>
<tbody>
<%= f.header 'Sending Details' %>
<%= f.radio_buttons :email_to, [['A User profile','user_class'],['One or more specific addresses','addresses'],['Autorespond to submitter','autorespond']], :label => 'Who to email', :required => true, :onchange => "SCMS.toggle(['email_user_classes','email_addresses'],[this.value=='user_class',this.value=='addresses']);", :separator => '<br/>' %>
Expand Down

0 comments on commit efccf7c

Please sign in to comment.