Sha256: 7dc8dc5b9c1ca66eba2eb716421d7fe72e25c6094d5a151519d60a772cbcc86d
Contents?: true
Size: 1.39 KB
Versions: 181
Compression:
Stored size: 1.39 KB
Contents
.email-campaigns--form %h2 Email Campaign - if email_campaign.email_template with template `#{email_campaign.email_template.slug}` type:#{email_campaign.email_template.type}. - url = %w| index new create |.include?( params[:action] ) ? email_contexts_path : email_context_path(email_campaign) = form_for email_campaign, url: url do |f| .row .col.s6 .field = f.label :title = f.text_field :title .field = f.label :email_template_id = f.select :email_template_id, options_for_select(@email_templates_list, selected: params[:email_template_id] || email_campaign.email_template&.id ) .field = f.label :from_email = f.select :from_email, options_for_select(Ish::EmailContext.from_email_list, selected: email_campaign.from_email) .field = f.label :to_email = f.text_field :to_email .col.s6 %h5 Templating .field = f.label :name = f.text_field :name .field.field-subject = f.label :subject = f.text_field :subject - if 'plain' == email_campaign.email_template&.type .body = raw email_campaign.email_template.body - else .field = f.label :body = f.text_area :body, class: 'tinymce' .actions .left = f.submit 'Preview' .right -# = f.submit 'Schedule/Send'
Version data entries
181 entries across 181 versions & 1 rubygems