
           
                    <form  onsubmit="savesnack(this)" >
                        <input type="hidden" name="key" value="{{$key}}">
                        <input type="hidden" name="row" value="{{$row}}">
                    <div class="modal-body">
                        <div class="week-meal">
                            <div class="content">
                                <div class="row">
                                    <div class="col-12" style="display:none" id="snackcountextr">
    <div  class="alert alert-danger">
<p style="color: black;">{{ __('web.extream') }}</p>
</div>
</div>
                                    <div class="col-lg-12">
                                        <div class="box">
                                            <div class="box-titel">
                                                <h5>
                                                    {{__('web.snacks')}} 
                                                    <img src="{{url('')}}/assets/web/images/title_heading.svg" alt="" class="title_bg"/>
                                                </h5>
                                            </div>
                                           
                                            <div class="tab-content" id="pills-tabContent">
                                                <div class="tab-pane fade show active" id="pills-mainMeal1" role="tabpanel" aria-labelledby="pills-mainMeal1-tab">
                                                    <div class="main-meal">
                                                        @foreach($snacks as $row)
                                                        <div class="item row">
                                                            <div class="col-md-3 col-sm-5">
                                                                <div class="img">
                                                                    <img src="{{asset($row->image)}}" alt="">
                                                                </div>
                                                                
                                                                  <input type="radio" id="selectMealsnack{{$row->id}}"  value="{{$row->id}}" id="snack_id"  name="snack_id" class="custom-control-input">
                                                    <label class="custom-control-label" for="selectMealsnack{{$row->id}}">
                                                        <a class="add-item"><i class="fas fa-plus"></i> {{ __('web.add') }}</a>
                                                    </label>
                                                            </div>
                                                            <div class="col-md-5 col-sm-7 valign">
                                                                <div class="cont">
                                                                    <p>{{mealname($row->id)}}</p>
                                                                    <h6>{{mealdescription($row->id)}}</h6>
                                                                    <div class="inFlex">
                                                                        <div class="numb">
                                                                            <label for="spinner">{{ __('web.count') }} :</label>
                                                                            <input class="form-control qty-form" min="1" name="count" id="count{{$row->id}}" type="number" value="1">
                                                                        </div>
                                                                    </div>
                                                                 
                                                                </div>
                                                            </div>
                                                            <div class="col-md-4">
                                                                <div class="info">
                                                                    <ul>
                                                                        <li>
                                                                            <div class="type">{{ __('web.calories') }}</div>
                                                                            <div class="numb">{{$row->calories}} {{ __('web.gram') }}</div>
                                                                        </li>
                                                                        <li>
                                                                            <div class="type">{{ __('web.fats') }}</div>
                                                                            <div class="numb">{{$row->fats}} {{ __('web.gram') }}</div>
                                                                        </li>
                                                                    </ul>
                                                                </div>
                                                                
                                                            </div>
                                                            <div class="col-md-9 mr-auto mt-1 meal_notes ">
                                                                <label class="label">{{ __('web.note') }} :</label>
                                                                <textarea class="form-control" rows="1" id="note{{$row->id}}" placeholder="{{ __('web.write') }}"></textarea>
                                                            </div>
                                                        </div>
                                                        @endforeach
                                                    </div>
                                                </div>
                                                  </div>
                                           
                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary">{{ __('web.save') }}</button>
                    </div>
                    </form>
               
            