Skip to content

Commit

Permalink
fix delete button link in organization (bs2 template)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Troupel committed Jan 14, 2019
1 parent 5313900 commit e147a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates-bs2/organization/member_new.html
Expand Up @@ -56,7 +56,7 @@ <h1 class="page-heading">
{{ form.select('role', label=_('Role'), options=c.roles, selected=c.user_role, error='', attrs=format_attrs) }}
<div class="form-actions">
{% if user %}
<a href="{{ h.url_for(group_type + '.member_delete', id=c.group_dict.id, user=user_id) }}" class="btn btn-danger pull-left" data-module="confirm-action" data-module-content="{{ _('Are you sure you want to delete this member?') }}">{{ _('Delete') }}</a>
<a href="{{ h.url_for(group_type + '.member_delete', id=c.group_dict.id, user=user.id) }}" class="btn btn-danger pull-left" data-module="confirm-action" data-module-content="{{ _('Are you sure you want to delete this member?') }}">{{ _('Delete') }}</a>
<button class="btn btn-primary" type="submit" name="submit" >
{{ _('Update Member') }}
</button>
Expand Down

0 comments on commit e147a86

Please sign in to comment.