Nintex templates download as I was investigating some issue with their search bar. In the header file, if you have multiple '<input' (like we would normally do for language switcher options) it negates the button being clickable at all.
This commit is contained in:
@ -0,0 +1,49 @@
|
||||
{% include "header"
|
||||
, color: "var(--nintex--color--deep-purple)"
|
||||
, text_color: "white"
|
||||
, text: ""
|
||||
, subtitle: ""
|
||||
, button_text: ""
|
||||
, button_link: "" %}
|
||||
<main class="np-main np-cta-page np-max-width np-subpage-container">
|
||||
<div class="np-card-container np-card-padding-xlarge">
|
||||
{% if token %}
|
||||
<i class="np-cta-page-icon fal {{ training_event.event_type_icon }}"></i>
|
||||
<div class="np-form-headline">
|
||||
{{ training_session.title }}
|
||||
</div>
|
||||
<div class="np-form-subheadline">
|
||||
{% t .info,
|
||||
event_name: training_session.title,
|
||||
session_date: training_session.date,
|
||||
session_time: training_session.time
|
||||
%}
|
||||
</div>
|
||||
<div class="np-form-subheadline">
|
||||
{% t .question %}
|
||||
</div>
|
||||
<form action="{% route training_session_attendance %}" method="post" class="np-cta-page-buttons">
|
||||
{% form_authenticity_token %}
|
||||
<input type="hidden" name="token" value="{{ token }}">
|
||||
<input type="submit" name="not_attended" value="{% t .not_attended %}" class="np-button np-button-secondary">
|
||||
<input type="submit" name="commit" value="{% t .attended %}" class="np-button">
|
||||
</form>
|
||||
<div class="np-form-subheadline">
|
||||
{% t .salutation %}
|
||||
</div>
|
||||
<div class="np-form-subheadline">
|
||||
{{ current_school.name }}
|
||||
</div>
|
||||
{% else %}
|
||||
<i class="np-cta-page-icon fal fa-check-circle"></i>
|
||||
<div class="np-form-headline">
|
||||
{% t .success.response_text %}
|
||||
</div>
|
||||
<div class="np-cta-page-buttons">
|
||||
<a href="{% route training_events %}" class="np-button">
|
||||
{% t .success.button_text %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
Reference in New Issue
Block a user