SHARE
TWEET

Untitled

adasiek1409 Sep 17th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  2.         <div class="row">
  3.             <div class="col-md-12 col-background">
  4.                 {% if is_granted('ROLE_ADMIN') %}
  5.                     {{ include('events/partials/_create.html.twig') }}
  6.                 {% endif %}
  7.                 <ul class="list-group">
  8.                     {% for event in not_reservated_events %}
  9.                         <li class="list-group-item d-flex justify-content-between
  10.                            align-items-center">
  11.                             {{ event.getTitle() }}
  12.                             <div>
  13.                                 {{ include('events/partials/_time.html.twig') }}
  14.                                 {{ include('events/partials/_show.html.twig') }}
  15.                                 {{ include('events/partials/_seats.html.twig') }}
  16.                                 {{ include('events/partials/_cost.html.twig') }}
  17.                                 {% if is_granted('ROLE_ADMIN') %}
  18.                                 {{ include('events/partials/_edit.html.twig') }}
  19.                                 {{ include('events/partials/_delete.html.twig') }}
  20.                                 {% endif %}
  21.                             </div>
  22.                         </li>
  23.                     {% endfor %}
  24.                 </ul>
  25.             </div>
  26.         </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top