Sha256: e2c486309a1afa736f98fef3f5f58734c3e0daf1cc4d2a51601a99954bc934f6
Contents?: true
Size: 980 Bytes
Versions: 178
Compression:
Stored size: 980 Bytes
Contents
-# unused, but maybe I should separate _form and _form_mini ? - sch_a = scheduled_email_action - url = sch_a.new_record? ? scheduled_email_actions_path : scheduled_email_action_path(sch_a.id) .scheduled-email-actions--form = form_for scheduled_email_action, url: url, as: :sch, html: { class: "form-mini" } do |f| .header %h5.title Schedule an email action .flex-row = f.label :lead = f.select :lead_id, options_for_select(@leads_list, selected: sch_a[:lead_id]||params[:lead_id] ), {}, class: 'select2' .field %label State = f.select :state, options_for_select(::Office::ScheduledEmailAction::STATES, selected: sch_a.state ) %br .flex-row = f.label :email_action = f.select :email_action, options_for_select( @email_actions_list, selected: sch_a[:email_action_id] ), {}, class: 'select2' %br .field = f.label :perform_at = f.text_field :perform_at .actions = submit_tag 'Schedule'
Version data entries
178 entries across 178 versions & 2 rubygems