grocy/views/recipessettings.blade.php
Bernd Bestel 0d1f2ad09d
Squashed commit
Optimized new chore start date handling (references #1612)
Change yearly chore schedule to be on the same day each year (closes #817)
Use the last price for out of stock ingredients (closes #779)
Make it optionally possible to show the recipes list full-width (closes #1772)
2022-02-09 17:48:21 +01:00

50 lines
1.4 KiB
PHP

@extends('layout.default')
@section('title', $__t('Recipes settings'))
@section('viewJsName', 'recipessettings')
@section('content')
<div class="row">
<div class="col">
<h2 class="title">@yield('title')</h2>
</div>
</div>
<hr class="my-2">
<div class="row">
<div class="col-lg-6 col-12">
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox"
class="form-check-input custom-control-input user-setting-control"
id="recipes_show_list_side_by_side"
data-setting-key="recipes_show_list_side_by_side">
<label class="form-check-label custom-control-label"
for="recipes_show_list_side_by_side">
{{ $__t('Show the recipe list and the recipe side by side') }}
</label>
</div>
</div>
<h4 class="mt-2">{{ $__t('Recipe card') }}</h4>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox"
class="form-check-input custom-control-input user-setting-control"
id="recipe_ingredients_group_by_product_group"
data-setting-key="recipe_ingredients_group_by_product_group">
<label class="form-check-label custom-control-label"
for="recipe_ingredients_group_by_product_group">
{{ $__t('Group ingredients by their product group') }}
</label>
</div>
</div>
<a href="{{ $U('/recipes') }}"
class="btn btn-success">{{ $__t('OK') }}</a>
</div>
</div>
@stop