Sha256: 5a2daf9f8f76cfc322b519f01f263c5f8b969fc0d5a7f9fdd9e9a6ad9960d6c8

Contents?: true

Size: 1.39 KB

Versions: 98

Compression:

Stored size: 1.39 KB

Contents

- oact = office_action
- url  = office_action.new_record? ? office_actions_path : office_action_path( office_action )

.office-actions--form

  = form_for office_action, url: url, as: :office_action, :html => { :multipart => true } do |f|
    .row
      .col-sm-6
        = f.submit :submit

    .row
      .col-md-6
        .field
          %label Slug
          = f.text_field :slug

        .flex-row
          %label State
          = f.select :state, options_for_select(::Office::Action::STATES, selected: oact.state )
        .field
          = f.label :perform_at
          = f.text_field :perform_at

        .field
          %label Action Exe
          = f.text_area :action_exe, class: 'large'

      .col-md-6
        .field
          %label Next Office Actions
          .eg rand(1..5).business_days.from_now.to_date + rand(8..16).hours + rand(1..59).minutes
          %br

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

    .row
      .col-sm-6
        = f.submit :submit


Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
ish_manager-0.1.8.513 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.512 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.511 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.510 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.509 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.508 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.507 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.506 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.505 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.504 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.503 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.500 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.499 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.498 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.497 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.496 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.495 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.494 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.493 app/views/ish_manager/office_actions/_form.haml
ish_manager-0.1.8.492 app/views/ish_manager/office_actions/_form.haml