diff --git a/app/views/contests/edit.html.erb b/app/views/contests/edit.html.erb --- a/app/views/contests/edit.html.erb +++ b/app/views/contests/edit.html.erb @@ -3,18 +3,23 @@ <% form_for(@contest) do |f| %> <%= f.error_messages %> -
- <%= f.label :title %>
- <%= f.text_field :title %>
-
- <%= f.label :enabled %>
- <%= f.check_box :enabled %>
-
<%= f.label :title %> | +<%= f.text_field :title %> | +
+ | + <%= f.check_box :enabled %> + <%= f.label :enabled %> + | +
<%= f.submit 'Update' %>
<% end %> <%= link_to 'Show', @contest %> | -<%= link_to 'Back', contests_path %> \ No newline at end of file +<%= link_to 'Back', contests_path %>