rosa-build/app/views/projects/sections.html.haml

25 lines
960 B
Plaintext

= render :partial => 'projects/submenu'
= render :partial => 'projects/sidebar'
= form_for @project, :url => sections_project_path(@project), :method => :post, :html => { :class => :form, :multipart => true } do |f|
.leftside.w25
%span.niceCheck-main{:onclick => "changeCheck(this)"}= f.check_box :has_issues
.leftside.w420
= t("activerecord.attributes.project.has_issues")
%br
%span{:style => "font-size: 11px;"}= t("layout.projects.has_issue_description")
.both
.leftside.w25
%span.niceCheck-main{:onclick => "changeCheck(this)"}= f.check_box :has_wiki, :class => 'niceCheck-main'
.leftside.w420
= t("activerecord.attributes.project.has_wiki")
%br
%span{:style => "font-size: 11px;"}= t("layout.projects.has_wiki_description")
.both
.padd25= submit_tag t("layout.save"), :class => 'button'
.both
:javascript
// TODO: Replace this temporary hack by something more true
$('.right').addClass('bigpadding');