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