event-an-enroll-dialog.html.twig in Open Social 10.2.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
- {{ 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>