= form_for @group, :html => { :class => :form, :multipart => true } do |f| = render :partial => "form", :locals => {:f => f} .hr .groups-profile = image_tag('code.png') .groups-profile = link_to t("layout.groups.public_profile"), @group .both .hr .leftside = t("layout.groups.delete_warning") .rightside = link_to t("layout.delete"), group_path(@group), :method => :delete, :confirm => t("layout.groups.confirm_delete"), :class => 'button' if can? :destroy, @group .both - content_for :sidebar, render('sidebar')