Sha256: 1710859722d321f93dbe8e80af76b8907972c5ad0994c8aa2688055af0aa3950

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

.row
  .col-sm-12.col-lg-9
    .box.box-primary
      .box-header
        .box-title ng-if="!editing"
          = _('New Group')

        .box-title ng-if="editing"
          = _('Edit Group')

      form[name="new_group" role="form"  novalidate]
        .box-body
          .row
            .col-sm-12.col-lg-6
                label for="group_name"
                  = ('Group name')

                input#group_name.form-control[placeholder==(_('Enter the name of group you want to create')) ng-model="new_name" type="text" required]

        .box-footer
          .row
            .col-sm-12
              button.btn.btn-primary type="submit" ng-click="save()" ng-disabled="form.$invalid"
                span
                  i.fa.fa-check
                = _('Save')

              button.btn.btn-danger type="submit" ng-click="cancel()"
                i.fa.fa-times
                = _('Cancel')
  .col-sm-12.col-lg-3
    .box
      .box-header
        .box-title
          = _('Groups to use as template')
.row
  .col-sm-9
    .box.box-warning
      .box-header
        .box-title
          = _("Permissions")

      .box-body
        .row
          .col-xs-12
            table.table.table-striped
              tbody
                tr
                  th
                    = _('Entity Name')
                  th
                    = _('Permission')
                tr ng-repeat="perm in resource.permissions.all()"
                  th
                    | {{ perm }}
                  th

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dashstrap-0.2.2 app/views/angular/auth/groups/new.html.slim
dashstrap-0.2.1 app/views/angular/auth/groups/new.html.slim
dashstrap-0.2.0 app/views/angular/auth/groups/new.html.slim