5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 22:45:44 +00:00

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? - if template.array?
.clearfix .clearfix
%button.btn.btn-warning.btn-sm.pull-right.remove-group %button.btn.btn-warning.btn-sm.pull-right.remove-group
= fa_icon 'close', title: t('posts.row.del') = fa_icon 'close', title: t('posts.row.del', group: template.key.humanize)
= t('posts.row.del') = t('posts.row.del', group: template.key.humanize)
-# Separar los campos en dos columnas -# Separar los campos en dos columnas
- template.nested_fields.each_slice(2).to_a.each do |col| - template.nested_fields.each_slice(2).to_a.each do |col|
.form-row .form-row
@ -51,4 +51,4 @@
.extra-groups .extra-groups
- if template.array? - if template.array?
.clearfix .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' max: 'You can select up to %{max} options'
text_area: text_area:
max: 'Up to %{max} characters' 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: row:
add: 'Add group' add: 'Add %{group}'
del: 'Remove group' del: 'Remove %{group}'
checkbox: 'Yes' checkbox: 'Yes'
anchor: 'Copy this link to come back here' anchor: 'Copy this link to come back here'
number: number:

View file

@ -207,10 +207,10 @@ es:
max: 'Puedes seleccionar hasta %{max} opciones' max: 'Puedes seleccionar hasta %{max} opciones'
text_area: text_area:
max: 'Hasta %{max} caracteres' 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: row:
add: 'Agregar otro' add: 'Agregar %{group}'
del: 'Eliminar grupo' del: 'Eliminar %{group}'
checkbox: 'Sí' checkbox: 'Sí'
anchor: 'Copia este vínculo para volver aquí más tarde' anchor: 'Copia este vínculo para volver aquí más tarde'
number: number: