2012-03-30 13:30:39 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), t('layout.projects.edit')]
|
2012-02-22 17:48:37 +00:00
|
|
|
= render :partial => 'projects/submenu'
|
2012-03-22 00:42:56 +00:00
|
|
|
= render :partial => 'projects/sidebar'
|
2011-10-26 21:57:51 +01:00
|
|
|
|
2012-02-22 17:48:37 +00:00
|
|
|
= form_for @project, :html => { :class => :form, :multipart => true } do |f|
|
|
|
|
= render :partial => "form", :locals => {:f => f}
|
2011-10-26 21:57:51 +01:00
|
|
|
|
2012-02-24 13:05:58 +00:00
|
|
|
.hr
|
2012-03-21 19:55:14 +00:00
|
|
|
.leftside= t("layout.projects.delete_warning")
|
|
|
|
.rightside= link_to t("layout.delete"), project_path(@project), :method => :delete, :confirm => t("layout.projects.confirm_delete"), :class => 'button' if can? :destroy, @project
|
2012-02-24 13:05:58 +00:00
|
|
|
.both
|
|
|
|
|