rosa-build/app/views/groups/edit.html.haml

19 lines
598 B
Plaintext

-set_meta_tags :title => [title_object(@group), t('layout.groups.edit')]
= 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')