Sha256: db0c754913677132079be849335e817b72691b34c4570cda48e402e9ea467d3b

Contents?: true

Size: 747 Bytes

Versions: 2

Compression:

Stored size: 747 Bytes

Contents

.row
  .col-lg-12
    .widget
      .widget-header
        i.fa.fa-list
        = Kms::Category.model_name.human(count: 1.1)
        a.btn.btn-sm.btn-primary.pull-right ui-sref="categories.new"
          = I18n.t("add_category")
      .widget-body.no-padding
        .table-responsive
          table.table
            tbody
              tr ng-repeat="category in categories"
                td style="width: 80%"
                  | {{ category.name }}
                td
                  .btn-group.pull-right
                    a.btn.btn-sm.btn-info ui-sref="categories.edit({id: category.id})"
                      i.fa.fa-pencil
                    a.btn.btn-sm.btn-danger ng-click="destroy(category)"
                      i.fa.fa-times

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kms_catalog-0.5.0 app/assets/javascripts/templates/categories/index.html.slim
kms_catalog-0.4.0 app/assets/javascripts/templates/categories/index.html.slim