= simple_form_for [:admin, @admin_cruza_grafos_user] do |f| = f.error_notification .form-inputs .row .col-md-3.col-12 = f.input :company, required: true, autofocus: true, hint: 'Empresa onde trabalha ou se é freelancer1. ' .col-md-5.col-12 = f.input :valid_until, autofocus: true .col-md-5.col-12 = f.input :cpf_cnpj, autofocus: true .col-md-5.col-12 = f.input :used_trial, autofocus: true .col-md-5.col-12 = f.input :in_trial, autofocus: true .col-md-5.col-12 = f.input :motive, autofocus: true .col-md-12.col-12 = f.input :professional_attachment, required: true, autofocus: true .col-md-6.col-12 = f.input :how_did_you_know, required: true, autofocus: true .col-md-6.col-12 = f.input :why_interested, required: true, autofocus: true .col-md-6.col-12 = f.input :work_company_link, required: true, autofocus: true .col-md-6.col-12 = f.input :social_media_link, required: true, autofocus: true .col-md-3.col-12 = link_to('Visualizar Arquivo', @admin_cruza_grafos_user.details_file.url, target: "_blank") = f.input :details_file, as: :file .col-md-3.col-12 = f.input :terms_of_use, as: :boolean .col-md-3.col-12 = f.input :privacy_policy, as: :boolean .col-md-3.col-12 = f.association :cruza_grafos_type,label_method: :description, value_method: :id, include_blank: false %input{:name => "f", :type => "hidden", :value => "#{params[:f]}"}/ .form-actions = f.button :submit, value: 'Salvar', class: "btn btn-warning orange mr-2" = link_to "Voltar", :back, class: "btn btn-light grey"