Hide button "Add Project" when project already exists (not perfect)
This commit is contained in:
parent
18ad291e82
commit
816d115cc8
@ -89,8 +89,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="submit" id="createProject" name="createProject" class="btn btn-primary"
|
<div th:if="*{project} == null">
|
||||||
|
<input type="submit" name="createProject" class="btn btn-primary"
|
||||||
value="Добавить проект"/>
|
value="Добавить проект"/>
|
||||||
|
</div>
|
||||||
<input type = "hidden" th:field="*{project.id}"/>
|
<input type = "hidden" th:field="*{project.id}"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user