mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 16:06:23 +00:00
indicar cuándo se vacía un select
This commit is contained in:
parent
602e8cc9cf
commit
67f145cb3f
3 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,6 @@
|
|||
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
||||
= select_tag(plain_field_name_for(base, attribute),
|
||||
options_for_select(metadata.values, metadata.value),
|
||||
**field_options(attribute, metadata), include_blank: true)
|
||||
**field_options(attribute, metadata), include_blank: t('.empty'))
|
||||
= render 'posts/attribute_feedback',
|
||||
post: post, attribute: attribute, metadata: metadata
|
||||
|
|
|
@ -481,6 +481,8 @@ en:
|
|||
image:
|
||||
label: Imagen
|
||||
destroy: Remove image
|
||||
belongs_to:
|
||||
empty: "(Empty)"
|
||||
reorder:
|
||||
submit: 'Save order'
|
||||
select: 'Select this post'
|
||||
|
|
|
@ -490,6 +490,8 @@ es:
|
|||
image:
|
||||
label: Imagen
|
||||
destroy: 'Eliminar imagen'
|
||||
belongs_to:
|
||||
empty: "(Vacío)"
|
||||
reorder:
|
||||
submit: 'Guardar orden'
|
||||
select: 'Seleccionar este artículo'
|
||||
|
|
Loading…
Reference in a new issue