From 0af04b8ae031398adbeebf5536f934d3c1ba9148 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 18 Sep 2012 23:48:52 +0000 Subject: [PATCH] use radio buttons instead of a select at attachment as same as r10426 repository git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10427 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/attachments/diff.html.erb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/views/attachments/diff.html.erb b/app/views/attachments/diff.html.erb index f429ba3f8..b8fb69048 100644 --- a/app/views/attachments/diff.html.erb +++ b/app/views/attachments/diff.html.erb @@ -6,15 +6,13 @@

<%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%> (<%= number_to_human_size @attachment.filesize %>)

-

<%= form_tag({}, :method => 'get') do %> - - <%= 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()}" %> +

+ <%= l(:label_view_diff) %>: + + +

<% end %> -

<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %> <% html_title @attachment.filename %> -- 2.39.5