mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
create gallery with the specified image as the cover
This commit is contained in:
parent
d184ee0817
commit
b1381de587
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
.field
|
.field
|
||||||
= label f, :thumbnail_id, "Set an existing image as the gallery cover"
|
= label f, :thumbnail_id, "Set an existing image as the gallery cover"
|
||||||
br
|
br
|
||||||
= number_input f, :thumbnail_id, class: "input", placeholder: "Image ID (e.g. 100)", min: 0
|
= number_input f, :thumbnail_id, value: input_value(f, :thumbnail_id) || @conn.params["with_image"], class: "input", placeholder: "Image ID (e.g. 100)", min: 0
|
||||||
= error_tag f, :thumbnail_id
|
= error_tag f, :thumbnail_id
|
||||||
.field
|
.field
|
||||||
= label f, :order_position_asc, "Reverse gallery order (images will be inserted at the end of the gallery)"
|
= label f, :order_position_asc, "Reverse gallery order (images will be inserted at the end of the gallery)"
|
||||||
|
|
Loading…
Reference in a new issue