summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-28 13:59:00 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-28 13:59:00 -0400
commit9ec58dc23d77fa8cab90119af10c25d98d8da7df (patch)
tree49bc2b531d29eb1c7102f1b550d70a257240782f
parent98133409735747a8bda10d85e4c90402c23ae30c (diff)
Titleized things.
-rw-r--r--app/views/tournaments/_form.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/tournaments/_form.html.erb b/app/views/tournaments/_form.html.erb
index fdf36e8..19389b8 100644
--- a/app/views/tournaments/_form.html.erb
+++ b/app/views/tournaments/_form.html.erb
@@ -62,13 +62,13 @@
<% when 2 %>
<ul>
<% setting.type_opt.split(',').each do |option|%>
- <li><label><%= setting_fields.radio_button( setting.name, option ) %><%= option.humanize %></label></li>
+ <li><label><%= setting_fields.radio_button( setting.name, option ) %><%= option.humanize.titleize %></label></li>
<% end %>
</ul>
<% when 3 %>
<ul>
<% setting.type_opt.split(',').each do |option|%>
- <li><label><%= check_box_tag("tournament[settings][#{setting.name}][]", option, setting.value.split(',').include?(option)) %><%= option.humanize %></label></li>
+ <li><label><%= check_box_tag("tournament[settings][#{setting.name}][]", option, setting.value.split(',').include?(option)) %><%= option.humanize.titleize %></label></li>
<% end %>
</ul>
<% when 4 %>
@@ -93,9 +93,9 @@
<fieldset>
<legend>Stage <%= i %></legend>
<%= stage_fields.label :scheduling_method %>
- <%= stage_fields.select(:scheduling_method, @tournament.scheduling_methods.map{|method| [method.humanize, method]}) %>
+ <%= stage_fields.select(:scheduling_method, @tournament.scheduling_methods.map{|method| [method.humanize.titleize, method]}) %>
<%= stage_fields.label :seeding_method %>
- <%= stage_fields.select(:seeding_method, @tournament.seeding_methods.map{|method| [method.humanize, method]}) %>
+ <%= stage_fields.select(:seeding_method, @tournament.seeding_methods.map{|method| [method.humanize.titleize, method]}) %>
</fieldset>
<% end %>
<% end %>