mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 07:21:43 +00:00
7 lines
327 B
Text
7 lines
327 B
Text
|
.form-group{ class: invalid(post, attribute) }
|
||
|
= label_tag "post_#{attribute}", post_label_t(attribute, post: post)
|
||
|
= date_field 'post', attribute, value: metadata.value.strftime('%F'),
|
||
|
**field_options(attribute, metadata)
|
||
|
= render 'posts/attribute_feedback',
|
||
|
post: post, attribute: attribute, metadata: metadata
|