mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 13:46:21 +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
|
def save
|
||||||
super
|
super
|
||||||
|
|
||||||
|
self[:value] = self[:value].uniq
|
||||||
|
|
||||||
return true unless changed?
|
return true unless changed?
|
||||||
return true unless inverse?
|
return true unless inverse?
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
%span.placeholder.w-100
|
%span.placeholder.w-100
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= hidden_field_tag name, ''
|
|
||||||
.d-flex.align-items-center.justify-content-between
|
.d-flex.align-items-center.justify-content-between
|
||||||
%div
|
%div
|
||||||
= label_tag id, post_label_t(attribute, post: post), class: 'mb-0'
|
= label_tag id, post_label_t(attribute, post: post), class: 'mb-0'
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
%span.placeholder.w-100
|
%span.placeholder.w-100
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= hidden_field_tag name, ''
|
|
||||||
.d-flex.align-items-center.justify-content-between
|
.d-flex.align-items-center.justify-content-between
|
||||||
%div
|
%div
|
||||||
= label_tag id, post_label_t(attribute, post: post), class: 'h3'
|
= label_tag id, post_label_t(attribute, post: post), class: 'h3'
|
||||||
|
|
Loading…
Reference in a new issue