<% 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 -%>