nombrar el grupo

This commit is contained in:
f 2018-07-23 17:15:01 -03:00
parent 29a2b055bc
commit b3518aa6db
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
3 changed files with 9 additions and 9 deletions

View file

@ -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)

View file

@ -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:

View file

@ -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: