|
@@ -14,7 +14,8 @@
|
|
<form class="form-horizontal m" id="form-${businessName}-edit" th:object="${${className}}">
|
|
<form class="form-horizontal m" id="form-${businessName}-edit" th:object="${${className}}">
|
|
<input name="${pkColumn.javaField}" th:field="*{${pkColumn.javaField}}" type="hidden">
|
|
<input name="${pkColumn.javaField}" th:field="*{${pkColumn.javaField}}" type="hidden">
|
|
#foreach($column in $columns)
|
|
#foreach($column in $columns)
|
|
-#if($column.edit && !$column.superColumn && !$column.pk)
|
|
|
|
|
|
+#if($column.edit && !$column.pk)
|
|
|
|
+#if(($column.usableColumn) || (!$column.superColumn))
|
|
#set($parentheseIndex=$column.columnComment.indexOf("("))
|
|
#set($parentheseIndex=$column.columnComment.indexOf("("))
|
|
#if($parentheseIndex != -1)
|
|
#if($parentheseIndex != -1)
|
|
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
|
|
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
|
|
@@ -102,6 +103,7 @@
|
|
#end
|
|
#end
|
|
#end
|
|
#end
|
|
#end
|
|
#end
|
|
|
|
+#end
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: footer" />
|