Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "base.twig" %}
- {% block content %}
- <section class="section">
- <div class="page__container">
- <section class="page__main">
- {% include 'partials/entry-header.twig' with {
- 'type': 'article'
- } %}
- {{ function( 'fr_show_error_messages' ) }}
- {% if bookmarked_events %}
- {% filter shortcodes %}
- [events_calendar post_id="{{ bookmarks_string }}"]
- {% endfilter %}
- {% set items = bookmarked_events %}
- <h3>You have bookmarked these (future) events.</h3>
- {% for event in bookmarked_events %}
- {% set event = TimberPost( event.post_id ) %}
- {% include 'teasers/registration.twig' with {
- 'now_ts' : now_ts
- } %}
- {% endfor %}
- <form name="remove_bookmarks" class="form__remove-bookmarks" method="post">
- <input type="hidden" name="user_id" value="{{ user }}" />
- <input type="hidden" name="remove_bookmarks_nonce" value="{{ remove_all_bookmarks_nonce }}" />
- <input type="submit" class="button button--small" value="Remove all bookmarks" />
- </form>
- {% else %}
- <p>You haven't bookmarked any events yet. You can bookmark an event from its event page.</p>
- {% endif %}
- </section>
- <section class="page__aside">
- {% include 'partials/sidebar.twig' %}
- </section>
- </div>
- </section>
- {% endblock %}
Add Comment
Please, Sign In to add comment