Sha256: e367e90827510786f90a416c838c34a7163b6a915afcc4f88f8c983f3b3a55e7

Contents?: true

Size: 1.42 KB

Versions: 44

Compression:

Stored size: 1.42 KB

Contents

.oat--form
  = form_for oat, as: :oat do |f|
    .actions
      = f.submit

    .field.flex-row

      %label Slug
      = f.text_field :slug, class: 'w-100'

    .field
      %label action_exe
      = f.text_area :action_exe, class: :monospace

    .field.flex-row
      %label From
      = f.select :from_type, options_for_select( @from_types_list, selected: params[:from_type] || oat.from_type )
      = f.select :from_id, options_for_select( @from_ids_list ), {}, class: 'select2'

    .field.flex-row
      %label Publisher
      = f.select :publisher, options_for_select( @publishers_list, selected: oat.publisher ), {}, class: 'select2'

    .row
      .col-md-4
         
      .col-md-8
        .field
          %label Next Office Action Templates
          .eg rand(1..5).business_days.from_now.to_date + rand(8..16).hours + rand(1..59).minutes
          .eg This is not an interval! But you can do Time.now + 30.seconds
          %br

          = f.fields_for :ties do |next_f|
            .flex-row.field
              %label next_at_exe
              = next_f.text_field :next_at_exe, class: 'flex-grow w-100'
            .flex-row.field
              %label to_delete
              = next_f.check_box :to_delete
              = next_f.select :next_office_action_template_id, options_for_select( @oats_list, selected: next_f.object.next_office_action_template_id ), { }, { class: 'select2' }
            %br

    .actions
      = f.submit

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
wco_models-3.1.0.82 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.81 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.80 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.79 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.78 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.77 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.76 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.75 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.74 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.73 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.72 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.71 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.70 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.69 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.67 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.66 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.65 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.64 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.63 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.62 app/views/wco/office_action_templates/_form.haml