Sha256: 88007897466b6994faaba29941db7ae9fe182a2421bd1e568cf354be26eeec5f

Contents?: true

Size: 907 Bytes

Versions: 5

Compression:

Stored size: 907 Bytes

Contents

<script type="text/ng-template" id="promethee/components/collection/edit/inspect">
  <b>Desktop</b>
  <div class="form-group">
    <label class="label-control">Items per line: {{promethee.inspected.attributes.items_per_line}}</label>
    <input ng-model="promethee.inspected.attributes.items_per_line" type="range" min="2" max="12">
  </div>

  <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 > 1">
      <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">
          <%= fa_icon :bars %> Item {{$index + 1}}
        </li>
      </ul>
    </div>
  </div>
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
promethee-1.6.34 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.33 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.32 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.31 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.30 app/views/promethee/components/collection/_edit.inspect.html.erb