refactor setting of <model>.<mount>_type to nil
attachments: clean up show.html.slim