Fixes #1858, also for maps and documents
Merge pull request #1875 from capooti/issue-1858

Fixes #1858, also for maps and documents
make style manage boxes to be adjacent, fixes #1863
Merge branch 'master' of https://github.com/GeoNode/geonode
unify _action in all templates, fixes #1781