Sha256: 7ed1f1845aa39878e7a496bb8de50dd523547eacff1a9c32f01228763a636cdc

Contents?: true

Size: 1.44 KB

Versions: 72

Compression:

Stored size: 1.44 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

72 entries across 72 versions & 1 rubygems

Version Path
wco_models-3.1.0.155 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.154 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.153 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.152 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.151 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.150 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.149 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.148 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.147 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.146 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.145 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.144 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.143 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.142 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.141 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.140 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.139 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.138 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.137 app/views/wco/office_action_templates/_form.haml
wco_models-3.1.0.136 app/views/wco/office_action_templates/_form.haml