mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
added recipeHeader for ajax function
This commit is contained in:
parent
66a16a406e
commit
425fef3325
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
$book->getRecipe($_GET["number"]);
|
$book->getRecipe($_GET["number"]);
|
||||||
$recipe = $book->sites[0];
|
$recipe = $book->sites[0];
|
||||||
|
|
||||||
echo "<h1 data-recipeid='$recipe->ID'>$recipe->Name</h1>";
|
echo "<h1 id='recipeHeader' data-recipeid='$recipe->ID'>$recipe->Name</h1>";
|
||||||
echo "<h2>Zutaten</h2>";
|
echo "<h2>Zutaten</h2>";
|
||||||
echo "<button id='addToListButton' class='button'>Zur Einkaufsliste hinzufügen</button>";
|
echo "<button id='addToListButton' class='button'>Zur Einkaufsliste hinzufügen</button>";
|
||||||
echo "<div id='ingredients'>";
|
echo "<div id='ingredients'>";
|
||||||
|
|
Loading…
Reference in a new issue