mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Merge branch 'story/105754990-file-upload' into staging
This commit is contained in:
commit
3d8450ad7b
5 changed files with 5 additions and 1 deletions
|
@ -8,5 +8,6 @@
|
|||
.form-group
|
||||
.col-md-3.control-label
|
||||
= f.label :legal_document, t(:legal_document)
|
||||
%p.help-block= t(:legal_document_max_size)
|
||||
.col-md-7
|
||||
= f.file_field :legal_document, :value => ''
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
.col-md-3.control-label
|
||||
- c, fr = 'required', true if params[:domain_name].blank?
|
||||
= label_tag 'domain[legal_document]', t(:legal_document), class: c
|
||||
%p.help-block= t(:legal_document_max_size)
|
||||
.col-md-7
|
||||
= file_field_tag 'domain[legal_document]', required: fr
|
||||
.col-md-4
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
.form-group
|
||||
.col-md-4.control-label
|
||||
= label_tag 'domain[legal_document]', t(:legal_document), class: 'required'
|
||||
%p.help-block= t(:legal_document_max_size)
|
||||
.col-md-6
|
||||
= file_field_tag 'domain[legal_document]', required: true
|
||||
= hidden_field_tag 'domain[name]', params[:domain_name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue