.form-group = 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