Sha256: 79b9d210d2913251c941139531684cd089401fa36ee265d0fce87f3bd91513b4

Contents?: true

Size: 778 Bytes

Versions: 3

Compression:

Stored size: 778 Bytes

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 />
  <%= f.submit(action_button, class: 'btn btn-primary') %>
  <br /><br />
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vertica_history-1.0.2 app/views/vertica_history/vertica_history/_select_attributes.html.erb
vertica_history-1.0.1 app/views/vertica_history/vertica_history/_select_attributes.html.erb
vertica_history-1.0.0 app/views/vertica_history/vertica_history/_select_attributes.html.erb