diff --git a/app/views/contesters/edit.html.erb b/app/views/contesters/edit.html.erb index f6e01ea..1478c70 100644 --- a/app/views/contesters/edit.html.erb +++ b/app/views/contesters/edit.html.erb @@ -5,16 +5,16 @@ <%= form_for @contester, html: { class: 'square' } do |f| %> <%= render 'shared/errors', messages: @contester.errors.full_messages %> -
- <%= f.label :extra, "Extra Points" %> - <%= f.text_field :extra %> -
<% if @contester.contest.contest_type == Contest::TYPE_LADDER %>
<%= f.label :rank %> <%= f.text_field :score %>
<% else %> +
+ <%= f.label :extra, "Extra Points" %> + <%= f.text_field :extra %> +
<%= f.label :score %> <%= f.text_field :score %>