From 3586e44c1d3282dbc5a580ec757edf02a80239d6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 18 Sep 2012 20:51:31 +0000 Subject: [PATCH] Use radio buttons instead of a select. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10426 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/diff.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb index 050e53552..8f0f4ac80 100644 --- a/app/views/repositories/diff.html.erb +++ b/app/views/repositories/diff.html.erb @@ -5,11 +5,9 @@ <%= hidden_field_tag('rev', params[:rev]) if params[:rev] %> <%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %>

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