= simple_form_for(@arquivo_bll_do_processo) do |f| = f.error_notification = f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? .form-inputs .row .col-sm-12 p strong Processo: p style="text-align: justify;" =< @arquivo_bll_do_processo.processo.numero_do_processo = f.input :processo_id, as: :hidden .row .col-sm-2 = f.input :tipo_de_arquivo .col-sm-10 = f.label "Arquivo*", class: "control-label" div class="fileinput input-group fileinput-new" data-provides="fileinput" div class="form-control" data-trigger="fileinput" i class="icone-anexo_cotacao fileinput-exists" .fileinput-filename .input-group-addon class="btn btn-default btn-file" .fileinput-new Escolher file .fileinput-exists Trocar = f.file_field :file, value: f.object.file a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput" Remover - if f.object.persisted? p.form-control-static = link_to f.object.file_file_name, f.object.file.url, target: "_blank" = error_for f.object, :file .form-actions = f.button :submit, "Salvar", class: "btn btn-primary"