浏览代码

Fix query string in teacher update view

Andrea Fazzi 6 年之前
父节点
当前提交
b0f7bf6a0d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      templates/teachers_add_update.html.tpl

+ 2 - 2
templates/teachers_add_update.html.tpl

@@ -4,8 +4,8 @@
 
   {{if .Options.Get "update"}}
   <ol class="breadcrumb">
-    <li><a href="/teachers{{query "tpl_layout" "base" "tpl_content" "teachers"}}">Docenti</a></li>
-    <li><a href="/teachers/{{.Data.ID}}{{query "tpl_layout" "base" "tpl_content" "teachers_show"}}">{{.Data.Name}} {{.Data.Surname}}</a></li>
+    <li><a href="/teachers?{{query "tpl_layout" "base" "tpl_content" "teachers"}}">Docenti</a></li>
+    <li><a href="/teachers/{{.Data.ID}}?{{query "tpl_layout" "base" "tpl_content" "teachers_show"}}">{{.Data.Name}} {{.Data.Surname}}</a></li>
     <li class="active"><a href="#">Aggiorna</a></li>
   </ol>  
   {{else}}