Skip to content

Commit

Permalink
fix authorization nhandler rendering (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcasals authored and josepjaume committed Jan 17, 2017
1 parent d3881a5 commit 26e6492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/app/views/decidim/authorizations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="card__content">
<%= authorization_form_for(handler) do |form| %>
<% if lookup_context.exists?(handler.to_partial_path, [], true) %>
<%= render partial: handler, as: "handler", locals: { form: form } %>
<%= render partial: handler.to_partial_path, locals: { handler: handler, form: form } %>
<% else %>
<%= form.all_fields %>
<div class="actions">
Expand Down

0 comments on commit 26e6492

Please sign in to comment.