diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-12 10:50:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-12 10:50:41 +0000 |
commit | 96757857c41216443f44dd9e70416ff30c5bfaec (patch) | |
tree | 35f4343662d97e404bbdac48a6bbbaed09379bba /app/views | |
parent | 58996e891ef709385d7f2483ccf4de5ba66507f2 (diff) | |
download | redmine-96757857c41216443f44dd9e70416ff30c5bfaec.tar.gz redmine-96757857c41216443f44dd9e70416ff30c5bfaec.zip |
Removed "clear:both" divs that break the issue form with long sidebar content.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8858 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_attributes.html.erb | 3 | ||||
-rw-r--r-- | app/views/issues/_form_custom_fields.html.erb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb index 90d47a20c..7ac662e13 100644 --- a/app/views/issues/_attributes.html.erb +++ b/app/views/issues/_attributes.html.erb @@ -1,5 +1,6 @@ <% labelled_fields_for :issue, @issue do |f| %> +<div class="splitcontent"> <div class="splitcontentleft"> <% if @issue.safe_attribute? 'status_id' %> <p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p> @@ -58,8 +59,8 @@ <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p> <% end %> </div> +</div> -<div style="clear:both;"> </div> <% if @issue.safe_attribute? 'custom_field_values' %> <%= render :partial => 'issues/form_custom_fields' %> <% end %> diff --git a/app/views/issues/_form_custom_fields.html.erb b/app/views/issues/_form_custom_fields.html.erb index 10539264c..33b0b848b 100644 --- a/app/views/issues/_form_custom_fields.html.erb +++ b/app/views/issues/_form_custom_fields.html.erb @@ -1,3 +1,4 @@ +<div class="splitcontent"> <div class="splitcontentleft"> <% i = 0 %> <% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %> @@ -9,4 +10,4 @@ <% i += 1 -%> <% end -%> </div> -<div style="clear:both;"> </div> +</div> |