Fix if syntax in haml