Open nganvu opened 7 years ago
Ideally using JS to update the rooms, but otherwise, we can embed the add room form onto the suite page (perhaps a hidden form shown by the button click?), so we don't have to redirect the user to another page, then direct them to redirect back afterward.
This is kinda part of #431 - the entire housing resource management process should get much easier with nested routes, but we can certainly leave this open to specifically simplify the room creation part of it. It's also likely to be entirely JS-ified with React.
When add room from a suite's page:
Have to manually choose that suite again:
(Suggested by Alan): Maybe we should allow adding room on the suite's page with JS instead of moving to a separate page for rooms? This way admin can also see which rooms in the suite have already been added.