diff --git a/djangoshaker/templates/djangoshaker/user.html b/djangoshaker/templates/djangoshaker/user.html --- a/djangoshaker/templates/djangoshaker/user.html +++ b/djangoshaker/templates/djangoshaker/user.html @@ -3,40 +3,30 @@ {% load djangoshaker_html_helpers %} {% block content %} +
+
{% if available_recipes %} -

Drinks that You Can Make

- +

Your Drinks

- +{% include "djangoshaker/pagination.html" with page_obj=available_recipes page_param="recipe_page" extra_param=ingredient_page_param %} {% endif %} - -{% if user_ingredients %} -

Your Ingredients

- -
List of ingredients that you own. Click on the ingredient to remove it from the list.
+
- +
+

Your Ingredients

+{% if user_ingredients %} +{% include "djangoshaker/ingredient_selection.html" with ingredients=user_ingredients %} {% endif %} +{% include "djangoshaker/pagination.html" with page_obj=user_ingredients page_param="ingredient_page" extra_param=recipe_page_param %} +Show all ingredients. -{% if ingredients %} -

Available Ingredients

- -
List of ingredients that are available. Click on the ingredient to add it to the list of ingredients you own.
+
+
- -{% endif %} {% endblock %}