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

fixed 404 issue when pressing cancel #175

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ <h2 class="ui tiny header inline-block m-0">{{ panel_title|default("") }}</h2>

{%- if not read_only %}
<div class="form-actions">
<a role="button" href="." class="ui labeled icon button">
<a role="button" href="{{ url_for('invenio_userprofiles.profile') }}" class="ui labeled icon button">
<i class="close icon" aria-hidden></i>
{{ _('Cancel') }}
</a>

<button type="submit" name="submit" value="profile" class="ui primary labeled icon button">
<i class="check icon" aria-hidden="true"></i>
{{ _('Update profile') }}
Expand Down Expand Up @@ -98,7 +97,7 @@ <h2 class="ui tiny header inline-block m-0">
{%- endfor %}

<div class="form-actions">
<a role="button" href="." class="ui labeled icon button">
<a role="button" href="{{ url_for('invenio_userprofiles.profile') }}" class="ui labeled icon button">
<i class="close icon" aria-hidden="true"></i>
{{ _('Cancel') }}
</a>
Expand Down