Пример #1
0
@extends('seller.layout')

@section('content')
    <?php 
$attributes_groups = \App\Helpers\ProjectHelper::getAttributesGroups();
?>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading">Группы атрибутов</div>
                    <div class="panel-body">
                        <div class="btn-group btn-group-sm">
                            <button type="button" class="btn btn-default" data-toggle="modal" data-target="#editAttributesGroup">
                                Добавить группу атрибутов
                            </button>
                        </div>
                    </div>

                    <div class="">
                        <table class="table table-condensed table-striped table-hover" style="border-bottom: 1px solid #DDD; border-top: 1px solid #DDD">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>Наименование группы</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach ($attributes_groups as $attributes_group)
                                <tr>
                                    <td>{{ $attributes_group->id }}</td>