2012-03-30 15:54:30 +01:00
|
|
|
-set_meta_tags :title => [title_object(@group), t('layout.groups.edit')]
|
2012-03-01 12:28:38 +00:00
|
|
|
= 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
|
2011-10-26 21:57:51 +01:00
|
|
|
|
|
|
|
- content_for :sidebar, render('sidebar')
|