public static function validateIngredientsEdit($name, $ingredients, $id)
 {
     foreach ($ingredients as $ingredient) {
         $ingredient_errors = Ingredient::validateIngredient_name($ingredient);
         if (count($ingredient_errors) > 0) {
             $drink = Drink::findOne($id);
             $drink_types = DrinkType::listDrinkTypes();
             $drink_ingredients = DrinkIngredient::listDrinkIngredients($id);
             View::make('drink/edit.html', array('attributes' => $drink, 'drink_types' => $drink_types, 'drink_ingredients' => $drink_ingredients, 'message' => $ingredient_errors[0]));
         }
     }
 }