Talkspace no access templates uploaded. CIN7 api key added and new send grid request.

This commit is contained in:
Norm Rasmussen
2023-12-08 17:20:26 -05:00
parent e5b04c594c
commit 1d8a2e6f2b
9 changed files with 131 additions and 55 deletions

View File

@ -5,13 +5,14 @@
<form class="np-form np-box-content" action="{{ form.url }}" method="get" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
{% t shared.welcome_to_school, school_name: current_school.name %}
Talkspace Academy
</div>
<div class="np-form-subheadline">
{% t .headline, key: current_school.course_vocabulary %}
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
@ -20,7 +21,7 @@
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name }}"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -32,7 +33,7 @@
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name }}"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -44,7 +45,7 @@
type="text"
name="email"
id="learner_email"
value="{{ form.email }}"
value="{{ form.email | escape }}"
/>
</div>
<input
@ -52,7 +53,7 @@
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>
/>{% endcomment %}
</form>
</div>
</div>

View File

@ -1,52 +1,59 @@
<main class="np-main np-box-container">
<main class="np-box-container np-open-access">
<div class="np-box">
{% include "header_minimal" %}
<div class="np-box-content-container">
<form class="np-form np-box-content" action="{% route login %}" method="post" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
Talkspace-Northpass Academy
</div>
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
class="np-input"
autofocus="autofocus"
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_last_name">
{% t shared.last_name %}
</label>
<input
class="np-input"
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_email">
{% t shared.email_address %}
</label>
<input
class="np-input"
autofocus="autofocus"
type="email"
name="learner[email]"
type="text"
name="email"
id="learner_email"
>
value="{{ form.email | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_password">
{% t shared.password %}
</label>
<input
class="np-input"
type="password"
name="learner[password]"
id="learner_password"
>
</div>
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
{% t shared.sign_in %}
</button>
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
{% t .forgot_password %}
</a>
{% if features.account_creation? %}
<a class="np-form-link np-button-color" href="{% route sign_up %}">
{% t shared.sign_up %}
</a>
{% endif %}
{% if features.request_access? %}
<a
class="np-form-link np-button-color"
target="_blank"
href="{{ current_school.request_access_link }}"
>
{{ current_school.request_access_label }}
</a>
{% endif %}
<input
type="submit"
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>{% endcomment %}
</form>
</div>
</div>