mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 08:21:41 +00:00
solo requerirlo si no hay imagenes ya cargadas
This commit is contained in:
parent
e27cc2d546
commit
ac27a6f905
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
- name = [name,''] if template.multiple?
|
||||
= file_field_tag field_name_for_post_as_string(name),
|
||||
class: 'form-control',
|
||||
required: template.required?,
|
||||
required: template.required? && value.empty?,
|
||||
multiple: template.multiple?,
|
||||
accept: 'image/*'
|
||||
- if template.multiple?
|
||||
|
|
Loading…
Reference in a new issue