Commit dd9fb38c by Bogdan Andjelkovic

zeleno dugme

parent eb8106f7
...@@ -113,15 +113,14 @@ ...@@ -113,15 +113,14 @@
</div> </div>
<div class="col-md-2 d-flex flex-column justify-content-around align-items-center"> <div class="col-md-2 d-flex flex-column justify-content-around align-items-center">
<form method="POST" <form method="POST"
th:action="@{/delete-user/{id}(id=${korisnik.getKorisnikId()})}">
<button type="submit" class="btn btn-danger">Obrisi korisnika</button>
</form>
<form method="POST"
th:action="@{/accept-user/{id}(id=${korisnik.getKorisnikId()})}" th:action="@{/accept-user/{id}(id=${korisnik.getKorisnikId()})}"
th:if="${korisnik.isEnabled()==false}"> th:if="${korisnik.isEnabled()==false}">
<button type="submit" class="btn btn-secondary">Prihvati korisnika</button> <button type="submit" class="btn btn-success">Prihvati korisnika</button>
</form>
<form method="POST"
th:action="@{/delete-user/{id}(id=${korisnik.getKorisnikId()})}">
<button type="submit" class="btn btn-danger">Obrisi korisnika</button>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment