Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Cancel should go home during registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ozten committed Dec 20, 2011
1 parent 20507ab commit 6157787
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/phonebook/templates/phonebook/edit_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ <h2>{{ _('My Login Info') }}</h2>
{% endif %}
</button>

<a href="{{ url('profile', user.unique_id) }}" id="cancel">
{% if registration_flow %}
<a href="{{ url('home') }}" id="cancel">
{% else %}
<a href="{{ url('profile', user.unique_id) }}" id="cancel">
{% endif %}
{{ _('Cancel') }}{# L10n: Cancel editing #}
</a>

Expand Down

0 comments on commit 6157787

Please sign in to comment.