Sha256: 6dde67af89e21bc2f056d4c26c2157f63752a5563a7826017e309a82afcef085

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

<%= form_for(@model.to_s.to_sym, url: { :controller => '/vertica_history/vertica_history', :action => 'view_history' }, method: 'get', html: { class: 'form-inline attributes-select-form' }) do |f| %>

  <div class="checkbox">
    <label class="btn btn-default" style="padding: 0 10px">
      <input class="select-all-btn" type="checkbox" <%  'checked' if @all_columns == @columns %> /> Select All
    </label>
  </div>

  <% @all_columns.each do |key| %>
    <div class="checkbox attribute-checkbox" id="<%= key %>">
      <label>
        <%= check_box_tag 'attribute-keys[]', key, checked = @columns.include?(key) %>
        <%= h key %>
      </label>
    </div>
  <% end %>

  <br /><br />
  <div class="pull-left btn-group">
    <%= f.submit(action_button, class: 'btn btn-primary') %>
    <%= link_to "Cancel", "/rails_admin/#{@model}/#{@id}", { class: 'btn btn-default' } %>
    <%= link_to "Write Vertica Query", "/vertica_history/vertica_history_query", { class: 'btn btn-default' } %>
  </div>
  <br /><br />
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vertica_history-2.1.1 app/views/vertica_history/vertica_history/_select_attributes.html.erb
vertica_history-2.1.0 app/views/vertica_history/vertica_history/_select_attributes.html.erb
vertica_history-2.0.1 app/views/vertica_history/vertica_history/_select_attributes.html.erb
vertica_history-2.0.0 app/views/vertica_history/vertica_history/_select_attributes.html.erb