]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up app/views/repositories/diff.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 20 Nov 2011 04:18:01 +0000 (04:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 20 Nov 2011 04:18:01 +0000 (04:18 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7859 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/diff.html.erb

index c3243017f48192d1dd3bbfd5ba0aa169860da0e8..738b4810acccea479587af2a5d79911f60501ea7 100644 (file)
@@ -4,8 +4,13 @@
 <% form_tag({:path => to_path_param(@path)}, :method => 'get') do %>
   <%= hidden_field_tag('rev', params[:rev]) if params[:rev] %>
   <%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %>
-  <p><label><%= l(:label_view_diff) %></label>
-  <%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type), :onchange => "if (this.value != '') {this.form.submit()}" %></p>
+  <p>
+    <label><%= l(:label_view_diff) %></label>
+    <%= select_tag 'type',
+                    options_for_select(
+                      [[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type),
+                    :onchange => "if (this.value != '') {this.form.submit()}" %>
+  </p>
 <% end %>
 
 <% cache(@cache_key) do -%>