Meal plan recipe and notes also fit into one table (references #477)

This commit is contained in:
Bernd Bestel
2020-01-23 21:57:47 +01:00
parent 6663551a66
commit fd5a72264d
7 changed files with 144 additions and 39 deletions

View File

@@ -46,11 +46,11 @@
@include('components.recipepicker', array(
'recipes' => $recipes,
'isRequired' => true,
'nextInputSelector' => '#servings'
'nextInputSelector' => '#recipe_servings'
))
@include('components.numberpicker', array(
'id' => 'servings',
'id' => 'recipe_servings',
'label' => 'Servings',
'min' => 1,
'value' => '1',
@@ -58,6 +58,7 @@
))
<input type="hidden" id="day" name="day" value="">
<input type="hidden" name="type" value="recipe">
</form>
</div>
@@ -83,6 +84,8 @@
<textarea class="form-control" rows="2" id="note" name="note"></textarea>
</div>
<input type="hidden" name="type" value="note">
</form>
</div>
<div class="modal-footer">