Daniel Sheffield 1 год назад
Родитель
Сommit
1293702966
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      app/rest/templates/optgroup.tpl

+ 7 - 0
app/rest/templates/optgroup.tpl

@@ -0,0 +1,7 @@
+<optgroup label="{{name}}">
+<%
+  for opt in options:
+    include('app/rest/templates/option', **opt)
+  end
+%>
+</optgroup>