5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-21 22:26:22 +00:00
This commit is contained in:
maki 2024-05-03 14:06:32 -03:00
parent 92e7ecada0
commit 7ec3e69ec7
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
.form-group
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
- if metadata.static_file
- case metadata.static_file.blob.content_type
- when %r{\Avideo/}

View file

@ -1,6 +1,6 @@
.form-group
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
- if metadata.static_file
= image_tag url_for(metadata.static_file),
alt: metadata.value['description'],