{% extends 'frontend/layouts/index.html.twig' %} {% block content %}
{% if getSiteLogo() %} logo {% endif %}
Register Your Affiliate Account
{{ form_start(form, {'attr': {'id': 'become_affiliate', 'novalidate': 'novalidate'}}) }} {% if user.firstname %} {{ form_row(form.firstname, {'attr': {'value': user.firstname, 'readonly': 'readonly'}}) }} {% endif %} {% if user.lastname %} {{ form_row(form.lastname, {'attr': {'value': user.lastname, 'readonly': 'readonly'}}) }} {% endif %} {% if user.email %} {{ form_row(form.email, {'attr': {'value': user.email, 'readonly': 'readonly'}}) }} {% endif %} {% if user.mobileno %} {{ form_row(form.mobileno, {'attr': {'value': user.mobileno, 'readonly': 'readonly'}}) }} {% endif %} {% if refid %} {{ form_row(form.refid, {'attr': {'value': refid, 'readonly': 'readonly'}}) }} {% endif %} {{ form_end(form) }}
{% endblock %} {% block logincontent %}
{% if getSiteLogo() %} logo {% endif %}
Register Your Affiliate Account
{{ form_start(form, {'attr': {'id': 'direct_affiliate', 'novalidate': 'novalidate'}}) }} {{ form_row(form.firstname) }} {{ form_row(form.lastname) }} {{ form_row(form.email) }} {{ form_row(form.mobileno)}} {% if refid %} {{ form_row(form.refid, {'attr': {'value': refid, 'readonly': 'readonly'}}) }} {% else %} {{ form_row(form.refid) }} {% endif %}
{{ form_widget(form.password.first, {'attr': {'class': 'form-control', 'placeholder': '•••••••••••', 'id': 'password-input'}}) }}
{{ form_widget(form.password.second, {'attr': {'class': 'form-control', 'placeholder': '•••••••••••', 'id': 'confirm-password-input'}}) }}
{# {{ form_row(form.recaptcha) }}#}
{{ form_end(form) }}
{% endblock %} {% block stylesheets %} {% endblock %} {% block javascripts %} {% endblock %}