mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 09:51:03 +02:00
Story#105754990 Show in the web that legal document max size is 8MB
This commit is contained in:
parent
9f56e1bbaa
commit
46a0840219
4 changed files with 4 additions and 0 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]
|
||||
|
|
|
@ -633,6 +633,7 @@ en:
|
|||
expiry_absolute: 'Expiry absolute'
|
||||
upload_key: 'Upload key'
|
||||
legal_document: 'Legal document'
|
||||
legal_document_max_size: '(max. 8MB)'
|
||||
delete_domain: 'Delete domain'
|
||||
index: 'Index'
|
||||
ident: 'Ident'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue