nombrar el grupo
This commit is contained in:
parent
29a2b055bc
commit
b3518aa6db
3 changed files with 9 additions and 9 deletions
|
@ -24,8 +24,8 @@
|
|||
- if template.array?
|
||||
.clearfix
|
||||
%button.btn.btn-warning.btn-sm.pull-right.remove-group
|
||||
= fa_icon 'close', title: t('posts.row.del')
|
||||
= t('posts.row.del')
|
||||
= fa_icon 'close', title: t('posts.row.del', group: template.key.humanize)
|
||||
= t('posts.row.del', group: template.key.humanize)
|
||||
-# Separar los campos en dos columnas
|
||||
- template.nested_fields.each_slice(2).to_a.each do |col|
|
||||
.form-row
|
||||
|
@ -51,4 +51,4 @@
|
|||
.extra-groups
|
||||
- if template.array?
|
||||
.clearfix
|
||||
%button.btn.btn-success.btn-block.add-group= t('posts.row.add')
|
||||
%button.btn.btn-success.btn-block.add-group= t('posts.row.add', group: template.key.humanize)
|
||||
|
|
|
@ -211,10 +211,10 @@ en:
|
|||
max: 'You can select up to %{max} options'
|
||||
text_area:
|
||||
max: 'Up to %{max} characters'
|
||||
table: 'This field is a group of fields, you can add more groups with the "Add group" button or remove them with the "Remove group" button.'
|
||||
table: 'This field is a group of fields, you can add more groups with the "Add" button or remove them with the "Remove" button.'
|
||||
row:
|
||||
add: 'Add group'
|
||||
del: 'Remove group'
|
||||
add: 'Add %{group}'
|
||||
del: 'Remove %{group}'
|
||||
checkbox: 'Yes'
|
||||
anchor: 'Copy this link to come back here'
|
||||
number:
|
||||
|
|
|
@ -207,10 +207,10 @@ es:
|
|||
max: 'Puedes seleccionar hasta %{max} opciones'
|
||||
text_area:
|
||||
max: 'Hasta %{max} caracteres'
|
||||
table: 'Este campo es un grupo de campos, puede agregar los que necesites con el botón "Agregar otro" o eliminar los que no con "Eliminar grupo"'
|
||||
table: 'Este campo es un grupo de campos, puede agregar los que necesites con el botón "Agregar" o eliminar los que no con "Eliminar"'
|
||||
row:
|
||||
add: 'Agregar otro'
|
||||
del: 'Eliminar grupo'
|
||||
add: 'Agregar %{group}'
|
||||
del: 'Eliminar %{group}'
|
||||
checkbox: 'Sí'
|
||||
anchor: 'Copia este vínculo para volver aquí más tarde'
|
||||
number:
|
||||
|
|
Loading…
Reference in a new issue