diff --git a/app/components/form-key-value/template.hbs b/app/components/form-key-value/template.hbs index f5e7268a7..8655e3b45 100644 --- a/app/components/form-key-value/template.hbs +++ b/app/components/form-key-value/template.hbs @@ -7,13 +7,12 @@ {{#if ary.length}} - + - + {{#each ary as |row|}} -
+
{{/each}}
{{#if editing}} @@ -47,6 +46,7 @@ {{/if}}
{{else}} diff --git a/app/components/form-value-array/template.hbs b/app/components/form-value-array/template.hbs index 9d6e7e826..002630175 100644 --- a/app/components/form-value-array/template.hbs +++ b/app/components/form-value-array/template.hbs @@ -1,11 +1,10 @@ {{#if ary.length}} - + {{#each ary as |row|}} -
+
{{/each}}
{{input-paste pasted="pastedValues" class="form-control input-sm value" type="text" value=row.value placeholder=valuePlaceholder}} @@ -15,6 +14,7 @@
{{/if}} diff --git a/app/components/modal-edit-host/template.hbs b/app/components/modal-edit-host/template.hbs index 3bab4d734..55addf889 100644 --- a/app/components/modal-edit-host/template.hbs +++ b/app/components/modal-edit-host/template.hbs @@ -41,11 +41,9 @@ -
-
- -
-
+
+

{{t 'editHost.ips.label'}}

+ {{form-value-array initialValues=ips changed=(action (mut ips)) @@ -53,15 +51,12 @@ valueLabel="editHost.ips.valueLabel" valuePlaceholder="editHost.ips.valuePlaceholder" }} -

{{t 'editHost.ips.help'}}

-
+

{{t 'editHost.ips.help'}}

-
-
- -
-
+
+

{{t 'editHost.requireAny.label'}}

+ {{form-key-value initialStr=requireAny changedStr=(action (mut requireAny)) @@ -70,7 +65,6 @@ allowEmptyValue=true }}

{{t 'editHost.requireAny.help' htmlSafe=true}}

-