Sha256: 3ced345c504c379ed9bf89bd1792707cf8449439afac6532fc34ad538a42b0d7

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 KB

Contents

<h4>Actions</h4>

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-btn">
        <button class="btn btn-success" type="button">
          <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
          With
        </button>
      </span>
      <input type="text" class="form-control" placeholder="(e.g. require_admin)">
    </div><!-- /input-group -->

    <ul class="list-group top-buffer" id="with-actions">
      <% if @action_with_filters.empty? %>
          <li class="list-group-item">No action filters currently set</li>
      <% else %>
        <% @action_with_filters.each do |action_filter| %>
          <a href="#" onclick="removeWithActionItem()" class="list-group-item">
            <%= action_filter %>
            <span class="glyphicon glyphicon-remove pull-right list-group-span" aria-hidden="true"></span>
          </a>
        <% end %>
      <% end %>
    </ul>

  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-btn">
        <button class="btn btn-danger" type="button">
          <span class="glyphicon glyphicon-minus" aria-hidden="true"></span>
          Without
        </button>
      </span>
      <input type="text" class="form-control" placeholder="(e.g. verify_authenticity_token)">
    </div><!-- /input-group -->

    <ul class="list-group top-buffer" id="without-actions">
      <% if @action_without_filters.empty? %>
          <li class="list-group-item">No action filters currently set</li>
      <% else %>
        <% @action_without_filters.each do |action_filter| %>
          <a href="#" onclick="removeWithoutActionItem()" class="list-group-item">
            <%= action_filter %>
            <span class="glyphicon glyphicon-remove pull-right list-group-span" aria-hidden="true"></span>
          </a>
        <% end %>
      <% end %>
    </ul>
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boilerman-0.0.3 app/views/boilerman/controllers/_action_filter.html.erb
boilerman-0.0.2 app/views/boilerman/controllers/_action_filter.html.erb
boilerman-0.0.1 app/views/boilerman/controllers/_action_filter.html.erb