Closed tomclement closed 10 years ago
GIVEN that I am an ADMIN WHEN I am viewing a form section's details THEN I should see an icon that allows me to delete the form section
GIVEN that I am an ADMIN WHEN I click on the icon to delete the form section THEN I should be prompted to confirm whether I wish to delete the section
GIVEN that I am an ADMIN WHEN I confirm that I wish to delete the form section THEN the section should no longer appear in the list of form sections AND I should be able to view a success message "Form section XYZ deleted successfully".
Removing from Kampala Code Jam because this has dependencies on Form Builder for Enquiries #55
@baziwane @tomclement this is implemented (thanks to @raoufaghrout and @robmiles), can you pls have a look...
Awesome. Thanks @raoufaghrout and @robmiles
@baziwane https://github.com/baziwane @tomclement https://github.com/tomclement this is implemented (thanks to @raoufaghrout https://github.com/raoufaghrout and @robmiles https://github.com/robmiles), can you pls have a look...
— Reply to this email directly or view it on GitHub https://github.com/rapidftr/tracker/issues/136#issuecomment-52079037.
@baziwane check out the discussion in the pull request https://github.com/rapidftr/RapidFTR/pull/693#issuecomment-52078668 We had some trouble with the placing of the Delete button due to nesting of HTML forms so it's not where it was requested in this issue. I also had a question about whether we should be checking the Editable flag of the FormSection?
Taking a look at this...
@raoufaghrout @robmiles The functionality all looks good. Thanks for this! 👍
However in the meantime we'll be holding this card in QA Blocked until this Pull Request is reopened and merged. That should ensure we don't forget to fix those tests
No worries - we should have that recommitted fairly soon
I've just submitted a new pull request that's just running on Travis CI now, fingers crossed!
@RaoufAghrout @robmiles Build passed! Merging this right away..
Functional tests fixed with https://github.com/rapidftr/RapidFTR/pull/700. This is now ready for accepance
Presently when a RapidFTR admin adds a new form section to the forms on the web, it is not possible to delete that form section afterwards. Given that RapidFTR should be as flexible as possible - especially with regard to the forms, it should be possible to delete newly created form sections.