mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 16:01:49 +00:00
fix: solo mostrar el permalink cuando ya se puede generar uno
This commit is contained in:
parent
9b3dd9b2f6
commit
b32c67f168
1 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
||||||
.form-group
|
- if post.written?
|
||||||
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
.form-group
|
||||||
= text_field base, attribute, value: metadata.value,
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
||||||
dir: dir, lang: locale,
|
= text_field base, attribute, value: metadata.value,
|
||||||
**field_options(attribute, metadata)
|
dir: dir, lang: locale,
|
||||||
= render 'posts/attribute_feedback',
|
**field_options(attribute, metadata)
|
||||||
post: post, attribute: attribute, metadata: metadata
|
= render 'posts/attribute_feedback',
|
||||||
|
post: post, attribute: attribute, metadata: metadata
|
||||||
|
|
Loading…
Reference in a new issue