We're updating the issue view to help you get more done. 

Challenge: Cannot delete when JavaScript is disabled

Description

What steps will reproduce the problem?

  1. With JavaScript disabled, log in

  2. Browse > Collections > New Collection

  3. Enter required information

  4. For “Type of challenge, if any,” choose either a Gift Exchange or a Prompt Meme

  5. Submit the form

  6. Submit the challenge settings form to accept default challenge settings

  7. On either the Challenge Settings or Profile page, press “Delete Challenge”

What happens:

A 404 error.

What should happen:

It should take me to a deletion confirmation page, like deleting a collection without JavaScript does. The page should have the h2 heading “Delete Challenge” and the yellow caution notice, “Are you sure you want to delete the challenge for Collection Title? All challenge settings will be lost. (The collection and its works and bookmarks will not be deleted.)” The submit button should say “Yes, Delete Challenge.”

(You can basically steal the template from the collections/confirm_delete.html.erb file.)

Environment

None

Status

Assignee

Unassigned

Reporter

Sarken

Roadmap

Challenges

Priority

High

Affects versions

0.9.249

Fix versions

None

Components

BackEnd
FrontEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9