Sha256: 85d64220fa4d311b5a2f697126912255f4a574c1ee3a2472f6b82fa71fc77755

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

<%= simple_form_for(@filter, url: url, remote: true) do |f| %>

  <div class="inline-buttons-block top">
    <%= button_tag(t('klastera.actions.filter'), class: 'btn btn-primary btn-sm float-right', data: { disable_with: "<i class='fa fa-spinner spin'></i>" }) %>
  </div>

  <%=yield(f)%>

  <% if cluster_organization.is_in_cluster_mode? %>
    <% cluster_collection = cluster_clusters %>
    <% if cluster_collection.size > 1 %>
      <div class="inline-label-control-block">
        <%= f.input :cluster_id, collection: cluster_collection, prompt: t('klastera.clusters.all'), label: false, wrapper: false %>
        <label class="control-label"><%=t('klastera.cluster.title')%>:</label>
      </div>
    <% end %>
  <% end %>

  <div class="inline-buttons-block bottom">
    <%= button_tag(t('klastera.actions.filter'), class: 'btn btn-primary btn-sm float-right', data: { disable_with: "<i class='fa fa-spinner spin'></i>" }) %>
  </div>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
klastera-1.1.0 app/views/layouts/klastera/_cluster_filter.html.erb