[refs #195] Add js hack for sections bigpadding div class

This commit is contained in:
konstantin.grabar 2012-02-29 01:17:04 +04:00
parent 2ec2548390
commit b586c5ddf0
1 changed files with 26 additions and 23 deletions

View File

@ -1,27 +1,30 @@
= render :partial => 'projects/submenu'
.bigpadding
= 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
= 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
- content_for :sidebar, render('sidebar')
:javascript
// TODO: Replace this temporary hack by somethins more true
$('.right').addClass('bigpadding');