Changed path to icons from media to static.
Added csrf token.