<h2>Product Groups <a href="/ProductGroup" class="btn btn-success pull-right">Add <i
        class="glyphicon glyphicon-plus"></i></a></h2>
<table class="table table-condensed table-bordered table-striped">
    <thead>
    <tr>
        <th>Sort</th>
        <th>Name</th>
        <th>Maximum Discount</th>
        <th>Header</th>
        <th>Is Active</th>
        <th>Sort Order</th>
        <th>Is Fixture</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="item in info">
        <td>
            <button class="btn btn-info btn-sm" ng-click="move($index, -1)" ng-disabled="$first"><i
                    class="glyphicon glyphicon-chevron-up"></i>
            </button>
            <button class="btn btn-info btn-sm" ng-click="move($index, 1)" ng-disabled="$last"><i
                    class="glyphicon glyphicon-chevron-down"></i>
            </button>
        </td>
        <td><a href="{{item.Url}}">{{item.Name}}</a></td>
        <td class="text-right no-wrap">{{item.MaxDiscount | number:3}}%</td>
        <td>{{item.Header}}</td>
        <td>{{item.IsActive}}</td>
        <td>{{item.SortOrder}}</td>
        <td>{{item.IsFixture}}</td>
    </tr>
    </tbody>
</table>
