src/Bidcoz/Bundle/FrontendBundle/Resources/views/Registration/campaign.html.twig line 1

Open in your IDE?
  1. {% extends '@BidcozFrontend/campaign.html.twig' %}
  2. {% block content %}
  3.     <div class="panel registration-form signup-panel mx-auto mt-4">
  4.         <div class="panel-body">
  5.             <h2>Create Account</h2>
  6.             <p class="lead">If you already have a CausePilot account, <a href="{{ path('campaign_login_user', campaignParams) }}" class="trigger-login"><strong>sign in</strong></a>.</p>
  7.             <form action="{{ path('campaign_register_user', campaignParams) }}" method="post" novalidate>
  8.                 {% include '@BidcozFrontend/Registration/_form.html.twig' %}
  9.                 <div class="errors-container">
  10.                     {% if hasEmailAlreadyInUserError %}
  11.                         <div class="alert alert-danger my-3">
  12.                             <!--<h5 class="text-danger">Trouble logging in?</h5>-->
  13.                             <p style="color: white;">
  14.                                 The email you entered was already in use. Please
  15.                                 <a href="{{ path('campaign_login_user', campaignParams) }}" style="color: white !important; text-decoration: underline;">sign in</a>
  16.                                 to use <span class="error-email"></span>.
  17.                             </p>
  18.                             <!--<p>Enter your email address below and we'll send you a link to help you get back into your account.</p>-->
  19.                             {# include '@FOSUser/_login_link_form.html.twig' #}
  20.                         </div>
  21.                     {% endif %}
  22.                 </div>
  23.                 <button id="register_submit" class="btn btn-primary" type="submit">Create Account</button>
  24.             </form>
  25.         </div>
  26.     </div>
  27.     {% if withCc %}
  28.         {% set withoutForm = app.user is not defined or not app.user %}
  29.         {# include '_credit_card_modal.html.twig' with {formUrl: path('user_update_cc', {orgSlug: organization.slug, campaignSlug: campaign.slug}), withoutForm: withoutForm, ccForm: ccForm} #}
  30.     {% endif %}
  31. {% endblock %}
  32. {% block javascripts %}
  33.     {{ parent() }}
  34.     {% if withCc %}
  35.         <script type="text/javascript">
  36.             initCard();
  37.         </script>
  38.     {% endif %}
  39. {% endblock %}