diff --git a/app/views/contests/edit.html.erb b/app/views/contests/edit.html.erb new file mode 100644 --- /dev/null +++ b/app/views/contests/edit.html.erb @@ -0,0 +1,20 @@ +
+ <%= f.label :title %>
+ <%= f.text_field :title %>
+
+ <%= f.label :enabled %>
+ <%= f.check_box :enabled %>
+
+ <%= f.submit 'Update' %> +
+<% end %> + +<%= link_to 'Show', @contest %> | +<%= link_to 'Back', contests_path %> \ No newline at end of file