Example of an application with complex form (accepts_nested_attributes_for) and HAML syntax of views