I have the ride theme installed and would like to add a custom registration form. I tried taking code from the debut theme but it is not working. Seems like the code is pulling from a css template somewhere. Can you please advise?
My code from Debut Theme:
{{ page.title }}
{% if page.content.size > 0 %}
{{ page.content }}
{% endif %}
{%- assign formId = 'ContactForm' -%}
{% form 'contact', id: formId %}
{% include 'form-status', form: form, form_id: formId %}
{{ 'contact.form.name' | t }}
{{ 'contact.form.email' | t }} *
{%- if form.errors contains 'email' -%}
{{ 'general.accessibility.error' | t }}
{% include 'icon-error' %}
{{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}.
{%- endif -%}
Order ID *
{%- if form.errors contains 'OrderID' -%}
{{ 'general.accessibility.error' | t }}
{% include 'icon-error' %}
{{ form.errors.translated_fields['OrderID'] | capitalize }} {{ form.errors.messages['OrderID'] }}.
{%- endif -%}
Place of Purchase *
<input
type=“text”
id=“ContactFormPlaceofPurchase”
name=“contact[Place of Purchase]”
autocorrect=“off”
autocapitalize=“off”
required=“required”
aria-required=“true”
{%- if form.errors contains ‘OrderID’ -%}
class=“input–error”
aria-invalid=“true”
aria-describedby=“{{ formId }}-PlaceofPurchase-error”
{%- endif -%}
{%- if form.errors contains ‘PlaceofPurchase’ -%} {{ ‘general.accessibility.error’ | t }}
{% include ‘icon-error’ %} {{ form.errors.translated_fields[‘PlaceofPurchase’] | capitalize }} {{ form.errors.messages[‘PlaceofPurchase’] }}.