Sha256: 08062cebc8e423089f41d973d9547a90fd43cb31bf1467a95b31a5d699efddf7

Contents?: true

Size: 1.17 KB

Versions: 9

Compression:

Stored size: 1.17 KB

Contents

<div class='edit_input'>
  <div class='col-md-10'>
    <% valid_events = @job.aasm.events.collect { |e| e.name } %>
    <br>
    <br>
    <%= form_for(:job, url: update_slice_job_path(@job, offset: @offset, error_type: @failure_exception.class_name), method: :patch) do |f| %>
      <% @lines.each_with_index do |line, index| %>
        <% if @line_index == index %>
          <%= f.text_area :records, value: line, class: 'input_slices', id: index, multiple: true, rows: 14, cols: 10, wrap: "soft" %>
        <% else %>
          <%= f.hidden_field :records, value: line, class: 'input_slices', id: index, multiple: true %>
        <% end %>
      <% end %>

      <div id='submit'>
        <%= f.submit 'Save', class: 'btn btn-primary' %>
        <%= link_to 'Delete', delete_line_job_path(@job, offset: @offset, error_type: @failure_exception.class_name, line_index: @line_index), :data => {:confirm => 'Are you sure?'}, method: :patch, class: 'btn btn-danger' %>
        <%= link_to 'Cancel', view_slice_job_path(@job, error_type: @failure_exception.class_name, record_number: @job.input.failed.first.processing_record_number), class: 'btn btn-default' %>
    <% end %>

    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.1.0 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.7 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.6 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.5 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.4 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.3 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.2 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.1 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb
rocketjob_mission_control-6.0.0 app/views/rocket_job_mission_control/jobs/edit_slice.html.erb