mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 20:21:50 +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,3 +1,4 @@
|
||||||
|
- if post.written?
|
||||||
.form-group
|
.form-group
|
||||||
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
||||||
= text_field base, attribute, value: metadata.value,
|
= text_field base, attribute, value: metadata.value,
|
||||||
|
|
Loading…
Reference in a new issue