Sha256: 9c2ecdebf8c705ab3a6d22d9e7b52ed167bddbd2ed87d7008779fb163d00c952

Contents?: true

Size: 762 Bytes

Versions: 11

Compression:

Stored size: 762 Bytes

Contents

<script type="text/ng-template" id="promethee/components/faq/edit/inspect">
  <div class="form-group">
    <div class="btn btn-default" ng-click="addComponentByType('faq_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/faq/_edit.inspect.html.erb
promethee-1.10.8 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.7 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.6 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.5 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.4 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.3 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.2 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.1 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.10.0 app/views/promethee/components/faq/_edit.inspect.html.erb
promethee-1.9.0 app/views/promethee/components/faq/_edit.inspect.html.erb