mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 08:46:22 +00:00
Merge branch 'issue-15068' into production.panel.sutty.nl
This commit is contained in:
commit
0712268322
3 changed files with 2 additions and 2 deletions
|
@ -36,6 +36,8 @@ class MetadataHasMany < MetadataRelatedPosts
|
|||
def save
|
||||
super
|
||||
|
||||
self[:value] = self[:value].uniq
|
||||
|
||||
return true unless changed?
|
||||
return true unless inverse?
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
%span.placeholder.w-100
|
||||
|
||||
.form-group
|
||||
= hidden_field_tag name, ''
|
||||
.d-flex.align-items-center.justify-content-between
|
||||
%div
|
||||
= label_tag id, post_label_t(attribute, post: post), class: 'mb-0'
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
%span.placeholder.w-100
|
||||
|
||||
.form-group
|
||||
= hidden_field_tag name, ''
|
||||
.d-flex.align-items-center.justify-content-between
|
||||
%div
|
||||
= label_tag id, post_label_t(attribute, post: post), class: 'h3'
|
||||
|
|
Loading…
Reference in a new issue