div = simple_form_for([@project, @respondent_category, @manual_summary]) do |f| = f.error_notification .container-fluid .d-flex.align-items-center.justify-content-between.mb-3 .fs-24.medium - if @manual_summary.new_record? | Upload summary - else | Edit summary .form-actions = f.button :submit, "Done", class: "btn btn-primary fs-12 medium px-5" .form-inputs .input-group label.fs-12.col-sm-2.col-form-label Title .col-sm-10 = f.input :title, label: false, required: true, input_html: { class: "form-control border-0 bg-light fs-12", maxlength: 40 } div - if !@manual_summary.document_file_name.nil? .alert.alert-primary.my-2 strong | #{t(:current_transcript_file)}: | #{@manual_summary.document_file_name} .input-group label.fs-12.col-sm-2.col-form-label Document .col-sm-10 = f.input :document, label: false, required: @manual_summary.new_record? ? true : false, input_html: { class: "form-control bg-light fs-12", accept: ".pdf" }