<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <title>Insert title here</title>
  <object th:substituteby="common/resource :: resource"></object>
  <script type="text/javascript" src="/js/sys/dictionary/add.js"></script>
</head>
<body class="text-center">
  <form action="#">
  	<h1>新增字典项</h1>
  	<p>
		所属父级 : 
		<select name="parentId" >
			<option th:each="dictionary : ${dictionarys}" th:value="${dictionary.id}" th:text="${dictionary.name}"></option>
	  	</select>
  	</p>
    <p>名称 : <input name="name" type="text"/></p>
    <p>编码: <input name="code" type="text"/></p>
  </form>
  <button id="submit">提交</button>
</body>
</html>