You are here

event-an-enroll-dialog.html.twig in Open Social 10.3.x

{{ attach_library('social_event_an_enroll/event_an_enroll') }}

<div{{ attributes.addClass('event_an_enroll','row') }}>
  <div class="col-md">
    <h5>{% trans %}Enroll with account{% endtrans %}</h5>

    <p>
      {% if links.register is defined %}
        <a class="btn-lg btn btn-primary" href="{{ links.register.uri }}" title="{% trans %}Create an account{% endtrans %}">{% trans %}Create an account{% endtrans %}</a>
      {% endif %}
      <a class="btn-lg btn btn-default" href="{{ links.login.uri }}" title="{% trans %}Login{% endtrans %}">{% trans %}Log in{% endtrans %}</a>
    </p>
  </div>
  <div class="col-md">
    <h5>{% trans %}Enroll without account{% endtrans %}</h5>
    <p><a class="btn-lg btn btn-accent" href="{{ links.guest.uri }}" title="{% trans %}Enroll as guest{% endtrans %}">{% trans %}Enroll as guest{% endtrans %}</a></p>
  </div>
</div>

File

modules/social_features/social_event/modules/social_event_an_enroll/templates/event-an-enroll-dialog.html.twig
View source
  1. {{ attach_library('social_event_an_enroll/event_an_enroll') }}
  2. <div{{ attributes.addClass('event_an_enroll','row') }}>
  3. <div class="col-md">
  4. <h5>{% trans %}Enroll with account{% endtrans %}</h5>
  5. <p>
  6. {% if links.register is defined %}
  7. <a class="btn-lg btn btn-primary" href="{{ links.register.uri }}" title="{% trans %}Create an account{% endtrans %}">{% trans %}Create an account{% endtrans %}</a>
  8. {% endif %}
  9. <a class="btn-lg btn btn-default" href="{{ links.login.uri }}" title="{% trans %}Login{% endtrans %}">{% trans %}Log in{% endtrans %}</a>
  10. </p>
  11. </div>
  12. <div class="col-md">
  13. <h5>{% trans %}Enroll without account{% endtrans %}</h5>
  14. <p><a class="btn-lg btn btn-accent" href="{{ links.guest.uri }}" title="{% trans %}Enroll as guest{% endtrans %}">{% trans %}Enroll as guest{% endtrans %}</a></p>
  15. </div>
  16. </div>