diff --git a/app/views/announcements/new.html.erb b/app/views/announcements/new.html.erb deleted file mode 100644 --- a/app/views/announcements/new.html.erb +++ /dev/null @@ -1,46 +0,0 @@ -

New announcement

- -<%= error_messages_for :announcement %> - -<%= form_for(@announcement) do |f| %> -

- Title
- <%= f.text_field :title %> -

- -

- Notes (shown internally, used to organize announcements)
- <%= f.text_field :notes %> -

- -

- Body
- <%= f.text_area :body %> -

- -

- Author
- <%= f.text_field :author %> -

- -

- Published
- <%= f.check_box :published %> -

- -

- Show on front page?
- <%= f.check_box :frontpage %> -

- -

- Show only in contest?
- <%= f.check_box :contest_only %> -

- -

- <%= f.submit "Create" %> -

-<% end %> - -<%= link_to 'Back', announcements_path %>