= simple_form_for([@project, @respondent_category, @respondent]) do |f| = f.error_notification .form-inputs = f.input :first_name = f.input :last_name = f.input :language, collection: Respondent::LANGUAGES.invert.to_a.collect{|x|[x[0].titleize, x[1]]} - if !@respondent.transcript_file_name.nil? .alert.alert-primary.my-2 strong | #{t(:current_transcript_file)}: | #{@respondent.transcript_file_name} - if @respondent.new_record? .alert.alert-light.my-3 Upload a transcript or audio = f.input :transcript - if !@respondent.audio_file_file_name.nil? .alert.alert-primary.my-2 strong | #{t(:current_audio_file)}: | #{@respondent.audio_file_file_name} = f.input :audio_file .mb-3 label Proper Nouns input name="respondent[proper_nouns][]" type="text" class="form-control" data-controller="proper-nouns" multiple="multiple" value="#{@respondent.proper_nouns.join(" ,")}" .form-actions = f.button :submit, "Submit", class: "btn btn-primary"