Skip to content

Commit

Permalink
[2223] fix so that delete/change state not in form for unorthorized u…
Browse files Browse the repository at this point in the history
…sers
  • Loading branch information
kindly committed Mar 23, 2012
1 parent 18ef4e9 commit e28afd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/new_package_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ <h2>Errors in form</h2>
</py:with>
</fieldset>

<fieldset id="delete" class="tab-pane fade">
<fieldset id='delete' class="tab-pane fade" py:if="c.is_sysadmin or c.auth_for_change_state">
<dl>
<dt>Delete</dt>
<dd>
Expand Down

0 comments on commit e28afd5

Please sign in to comment.