2012-03-30 13:30:39 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), t('layout.projects.sections')]
|
2012-02-28 07:59:38 +00:00
|
|
|
= render :partial => 'projects/submenu'
|
2012-03-22 00:42:56 +00:00
|
|
|
= render :partial => 'projects/sidebar'
|
2012-02-28 07:59:38 +00:00
|
|
|
|
2012-02-28 21:17:04 +00:00
|
|
|
= form_for @project, :url => sections_project_path(@project), :method => :post, :html => { :class => :form, :multipart => true } do |f|
|
|
|
|
.leftside.w25
|
2012-03-21 19:55:14 +00:00
|
|
|
%span.niceCheck-main{:onclick => "changeCheck(this)"}= f.check_box :has_issues
|
2012-02-28 21:17:04 +00:00
|
|
|
.leftside.w420
|
|
|
|
= t("activerecord.attributes.project.has_issues")
|
|
|
|
%br
|
2012-03-21 19:55:14 +00:00
|
|
|
%span{:style => "font-size: 11px;"}= t("layout.projects.has_issue_description")
|
2012-02-28 21:17:04 +00:00
|
|
|
.both
|
|
|
|
.leftside.w25
|
2012-03-21 19:55:14 +00:00
|
|
|
%span.niceCheck-main{:onclick => "changeCheck(this)"}= f.check_box :has_wiki, :class => 'niceCheck-main'
|
2012-02-28 21:17:04 +00:00
|
|
|
.leftside.w420
|
|
|
|
= t("activerecord.attributes.project.has_wiki")
|
|
|
|
%br
|
2012-03-21 19:55:14 +00:00
|
|
|
%span{:style => "font-size: 11px;"}= t("layout.projects.has_wiki_description")
|
2012-02-28 21:17:04 +00:00
|
|
|
.both
|
2012-03-21 19:55:14 +00:00
|
|
|
.padd25= submit_tag t("layout.save"), :class => 'button'
|
2012-02-28 21:17:04 +00:00
|
|
|
.both
|
2012-02-28 07:59:38 +00:00
|
|
|
|
2012-02-28 21:17:04 +00:00
|
|
|
:javascript
|
2012-02-29 14:45:04 +00:00
|
|
|
// TODO: Replace this temporary hack by something more true
|
2012-02-28 21:17:04 +00:00
|
|
|
$('.right').addClass('bigpadding');
|