Ignore:
Timestamp:
02/10/23 11:35:17 (21 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
633b371
Parents:
ef84238
Message:

Authorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/projectionsForFilm.html

    ref84238 r04153a9  
    2727</style>
    2828<h1 style="color: white" th:text="${film.name}"></h1>
    29 <div style="border-radius:30px" >
     29<div style="border-radius:30px" xmlns:sec="http://www.w3.org/1999/xhtml">
    3030    <div class="row">
    3131        <div class="col-12 mt-3" style="padding-left:100px;height:75%;">
     
    4747                <div class="card-footer" style="border-bottom-right-radius:30px;border-bottom-left-radius:30px">
    4848                    <small>
     49                        <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
    4950                        <form th:action="@{'/home/getSeats/{id}' (id=${projection.id_projection})}"
    5051                              th:method="GET">
     
    6364                            <button class="button" type="submit">Резервирај</button>
    6465                        </form>
    65 
     66                        </th:block>
    6667                    </small>
    6768                </div>
Note: See TracChangeset for help on using the changeset viewer.