mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
parent
275c2f388b
commit
19a107a4ee
3 changed files with 9 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-8.text-right
|
.col-md-8.text-right
|
||||||
= button_tag(t('shared.save'), class: 'btn btn-warning')
|
= button_tag(t('.save_btn'), class: 'btn btn-warning')
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
.col-md-3.control-label
|
.col-md-3.control-label
|
||||||
= label_tag "domain_dnskeys_attributes_#{k}_flags", t(:flags)
|
= label_tag "domain_dnskeys_attributes_#{k}_flags", t('.flags')
|
||||||
.col-md-7
|
.col-md-7
|
||||||
= select_tag "domain[dnskeys_attributes][#{k}][flags]",
|
= select_tag "domain[dnskeys_attributes][#{k}][flags]",
|
||||||
options_for_select(Depp::Dnskey::FLAGS, v['flags']),
|
options_for_select(Depp::Dnskey::FLAGS, v['flags']),
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
.col-md-3.control-label
|
.col-md-3.control-label
|
||||||
= label_tag "domain_dnskeys_attributes_#{k}_alg", t(:alg)
|
= label_tag "domain_dnskeys_attributes_#{k}_alg", t('.alg')
|
||||||
.col-md-7
|
.col-md-7
|
||||||
= select_tag "domain[dnskeys_attributes][#{k}][alg]",
|
= select_tag "domain[dnskeys_attributes][#{k}][alg]",
|
||||||
options_for_select(Depp::Dnskey::ALGORITHMS, v['alg']), { class: 'form-control' }
|
options_for_select(Depp::Dnskey::ALGORITHMS, v['alg']), { class: 'form-control' }
|
||||||
|
|
|
@ -8,3 +8,9 @@ en:
|
||||||
registrant_name: Registrant name
|
registrant_name: Registrant name
|
||||||
registrant_code: Registrant code
|
registrant_code: Registrant code
|
||||||
expire_time: Date of expiry
|
expire_time: Date of expiry
|
||||||
|
|
||||||
|
form:
|
||||||
|
save_btn: Save
|
||||||
|
dnskeys:
|
||||||
|
flags: Flags
|
||||||
|
alg: Algorithm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue