summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-07-05 09:59:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-07-05 09:59:17 +0000
commitb91cbcaa0382362688c59eb192bce46508956f7b (patch)
treebba9fe7728dac151139f3012673016f867a2e81b /app/views/custom_fields
parent0125ba14f6b0c7ff907c8bcadb1cfdf61ed9b157 (diff)
downloadredmine-b91cbcaa0382362688c59eb192bce46508956f7b.tar.gz
redmine-b91cbcaa0382362688c59eb192bce46508956f7b.zip
Option to render boolean custom fields as a single check box or radio buttons (#17003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13216 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/formats/_bool.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/custom_fields/formats/_bool.html.erb b/app/views/custom_fields/formats/_bool.html.erb
index 81aa64afe..3b791acfe 100644
--- a/app/views/custom_fields/formats/_bool.html.erb
+++ b/app/views/custom_fields/formats/_bool.html.erb
@@ -1,3 +1,3 @@
<p><%= f.select :default_value, [[]]+@custom_field.possible_values_options %></p>
<p><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %></p>
-<p><%= edit_tag_style_tag f %></p>
+<p><%= edit_tag_style_tag f, :include_radio => true %></p>