浏览代码

Fix templates

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

+ 1 - 1
templates/departments_show.html.tpl

@@ -10,7 +10,7 @@
   <div class="karmen-info-header">
     <div class="row">
       <div class="col-md-8">
-	<h1>{{.Data.Name}}</h1>
+	<h1>Dipartimento di {{.Data.Name}}</h1>
       </div>
       <div class="col-md-4">
 

+ 1 - 1
templates/subjects_add_update.html.tpl

@@ -34,7 +34,7 @@
     
     <div class="form-group">
       <label class="control-label" for="department_id">Dipartimento</label>
-      <select name="department_id" class="form-control selectpicker" id="department_id" placeholder="Dipartimento" data-live-search="true" form="form_subjects_add_update" title="Seleziona il nome del dipartimento" data-dropup-auto="false" required>
+      <select name="department_id" class="form-control selectpicker" id="department_id" placeholder="Dipartimento" data-live-search="true" form="form_subjects_add_update" title="Seleziona il nome del dipartimento" data-dropup-auto="false">
 	<option value="0"></option>
   	{{range $department := .Data.AllDepartments}}
 	{{if $.Options.Get "update"}}