mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
20 lines
463 B
Text
20 lines
463 B
Text
%h2= t('upload_csr')
|
|
%hr
|
|
= form_for([:admin, @api_user, @certificate], multipart: true) do |f|
|
|
- if @certificate.errors.any?
|
|
- @certificate.errors.each do |attr, err|
|
|
= err
|
|
%br
|
|
- if @certificate.errors.any?
|
|
%hr
|
|
|
|
.row
|
|
.col-md-12.text-left
|
|
.form-group
|
|
= f.label :csr, t('certificate_signing_req')
|
|
= f.file_field :csr
|
|
%hr
|
|
.row
|
|
.col-md-12.text-right
|
|
= button_tag(t('save'), class: 'btn btn-primary')
|
|
|