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