5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 09:46: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,5 +1,5 @@
.form-group .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 - if metadata.static_file
- case metadata.static_file.blob.content_type - case metadata.static_file.blob.content_type

View file

@ -1,5 +1,5 @@
.form-group .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 - if metadata.static_file
= image_tag url_for(metadata.static_file), = image_tag url_for(metadata.static_file),