$root = $ mixin menuitem($path, $icon, $text) li .selected ? $root.ViewPath == $path a[href=$path] div.mg-icon #{$icon} div.mg-label #{$text} mixin tagmenuitem($tag) li [class=$tag.CSSClass] a[href=$tag.Path] div.mg-icon #{$tag.Icon} div.mg-label #{$tag.Name} mixin formoption($name, $selected, $label, $info) div.radio-wrapper $id = printf("checkbox-%s", $name) if $selected input[id=$id][type="checkbox"][name=$name][value="true"][checked] else input[id=$id][type="checkbox"][name=$name][value="true"] label[for="checkbox-unlisted"] b #{$label}: spamn #{$info}