This pull request was suppose to be simple, but I ended up making a lot of changes...
I added a decorator for the page Upload media step 2 because user was being able to access it even if them don't have loaded medias.
I fixed the header of the public website.
I fixed the issue of the add tour button not showing up when there is no tour.
I made the media admin panel in the public website only visible for admin users.
I standardized the AddForms names (for adding taxa, locations, ...).
And I implemented the BashActionsForm, which includes all the fields of the details form.
If a field of the BashActionsForm is required, it'll only make validation if the field is selected, but not fulfilled.
To add a new field, you just need to add the field to the form and create a new one with the same name but with "_actions" at the end (just copy one that is already there and change the name).
This pull request was suppose to be simple, but I ended up making a lot of changes...
Upload media step 2
because user was being able to access it even if them don't have loaded medias.header
of the public website.add tour button
not showing up when there is no tour.media admin panel
in the public website only visible for admin users.AddForms
names (for adding taxa, locations, ...).BashActionsForm
, which includes all the fields of the details form.