use capture instead of layout-hack to allow deface overrides

This commit is contained in:
wvengen 2014-04-29 19:21:03 +02:00
parent 83738c8383
commit 3953c21ae2
4 changed files with 6 additions and 4 deletions

View file

@ -2,7 +2,7 @@
%p= t('.invite_new', invite_link: link_to(t('.invite_link'), new_invite_path(id: @workgroup.id))).html_safe
= simple_form_for [:foodcoop, @workgroup] do |f|
= render :partial => 'shared/group_form_fields', :locals => {:f => f}
= render 'shared/group_form_fields', f: f
.form-actions
= f.submit
= link_to t('ui.or_cancel'), foodcoop_workgroups_path