I'm in the middle of designing a setup flow and have decided to go for an accordion paradigm (due to the large amount of steps, using tabs would result in tab overflow in mobile devices). Upon entering the setup flow, the user is presented with the the first step open.
However, I'm not sure how to present users with the action of saving or discarding the changes they've made.
One of the options is to re-use the 'edit' button that opens an accordion, and morph it into a save button.
The other alternative is a bit more straightforward and simply placing a save and cancel button inside the expanded item.
Are there any ad/disadvantages of going for any of the alternatives? Is there any other way to do this?