Add generating labels for direct children of item
This commit is contained in:
parent
cfaaa01fbf
commit
4f169bc8fd
|
@ -145,7 +145,16 @@ async fn show(
|
|||
}
|
||||
|
||||
@if !children.is_empty() {
|
||||
h3 .mt-4 { "Direct Children" }
|
||||
div .d-flex.justify-content-between.mt-4 {
|
||||
div {
|
||||
h3 { "Direct Children" }
|
||||
}
|
||||
div {
|
||||
(PageActionGroup::generate_labels(
|
||||
&children.iter().collect::<Vec<&Item>>(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
@for child in children {
|
||||
|
|
Loading…
Reference in a new issue