Sha256: 0d9890606257832a25a0caa7870167c554e754beb3d87b3b6d5cdbdd1a209554

Contents?: true

Size: 1.48 KB

Versions: 11

Compression:

Stored size: 1.48 KB

Contents

<script type="text/ng-template" id="promethee/components/collection/edit/inspect">
  <div class="form-group">
    <label class="label-control">Items per line (on desktop):</label>
    <div class="row">
      <div class="col-xs-2 col-2">
        <input ng-model="promethee.inspected.attributes.items_per_line" type="radio" ng-value="2"> 2
      </div>
      <div class="col-xs-2 col-2">
        <input ng-model="promethee.inspected.attributes.items_per_line" type="radio" ng-value="3"> 3
      </div>
      <div class="col-xs-2 col-2">
        <input ng-model="promethee.inspected.attributes.items_per_line" type="radio" ng-value="4"> 4
      </div>
      <div class="col-xs-2 col-2">
        <input ng-model="promethee.inspected.attributes.items_per_line" type="radio" ng-value="6"> 6
      </div>
    </div>
  </div>

  <hr>

  <div class="form-group">
    <div class="btn btn-default" ng-click="addComponentByType('collection_item', promethee.inspected.children)">Add item</div>
    <div ng-show="promethee.inspected.children.length">
      <br><br>
      <label class="label-control">Drag the items below to reorder them:</label>
      <ul ui-sortable ng-model="promethee.inspected.children" class="list-unstyled">
        <li ng-repeat="item in promethee.inspected.children">
          <div>
            <%= icon('fa', 'bars') %> Item {{$index + 1}}
            <span class="label label-info" ng-click="promethee.inspected = item">Edit</span>
          </div>
        </li>
      </ul>
    </div>
  </div>
</script>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
promethee-1.10.9 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.8 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.7 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.6 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.5 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.4 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.3 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.2 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.1 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.10.0 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.9.0 app/views/promethee/components/collection/_edit.inspect.html.erb