fixed detail_form test
Some changes to photo partials (custom and fb classes for photos