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 class="form-group">
|
||||
<input type="submit" id="createProject" name="createProject" class="btn btn-primary"
|
||||
value="Добавить проект"/>
|
||||
<div th:if="*{project} == null">
|
||||
<input type="submit" name="createProject" class="btn btn-primary"
|
||||
value="Добавить проект"/>
|
||||
</div>
|
||||
<input type = "hidden" th:field="*{project.id}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user