Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Membership Application Not Working #381

Closed
dco5 opened this issue Aug 11, 2015 · 2 comments
Closed

Membership Application Not Working #381

dco5 opened this issue Aug 11, 2015 · 2 comments

Comments

@dco5
Copy link
Contributor

dco5 commented Aug 11, 2015

I added a new membership application and everytime I go to it:
/memberships/applications/registration/
I get:

Oops user, we caused a problem

We have been notified of this and will be working on it quickly.

You may want to try this page again in a little bit.

@dco5
Copy link
Contributor Author

dco5 commented Aug 11, 2015

Im going to be more helpful with this:

TemplateSyntaxError at /memberships/applications/registration/

Invalid block tag: 'endif', expected 'endblock'

Invalid block tag: 'endif', expected 'endblock'
180 {% for field in captcha_form %}
181 {% if field.errors %}
182 {% for error in field.errors %}
183

{{ field.label }} - {% blocktrans with e=error %}{{
184 e }}{% endblocktrans %}


185 {% endfor %}
186 {% endif %}
187 {% endfor %}
188 {% endif %}
189
190

  {% endif %} 

191
192 {% for field_obj in app_fields %}
193 {% render_membership_field request field_obj user_form profile_form demographics_form membership_form education_form
194 %}
195 {% endfor %}
196
197 {% if membership_form.discount_code %}
198


199 {% trans "Discount
200 Code" %}

@dco5
Copy link
Contributor Author

dco5 commented Aug 11, 2015

Ok I got it to work, the template file was all bad formatted so the blocks and the if did not line up. I dunno if that was something from when I installed tendenci. But I formatted it correctly and it worked. Why would the .html file formatted incorrectly in my machine?

@dco5 dco5 closed this as completed Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant