converted to formtastic syntax