Sha256: 8fd88f1111df1fa587e48dfff1f8b054761929b94925b5791600c94bf15decd2

Contents?: true

Size: 765 Bytes

Versions: 4

Compression:

Stored size: 765 Bytes

Contents

<h1>Create a query that you want to submit to vertica for this stack</h1>

<%= form_tag({ :controller => '/vertica_history/vertica_history', :action => 'query_results' }, method: 'post', html: { class: 'form-inline attributes-select-form' }) do %>
  <%= label_tag(:q, "Search for:") %>
  <%= text_area_tag(:q, nil, {rows:'10', class: 'form-control'}) %>
  <br>Click schema below to append it to your query</br>
  <p>
  <% @other_schemas.each do |schema| %>
      <button type="button" onclick="appendNewText('<%=schema%>')" class="btn btn-info"><%=schema%></button>
  <% end %>
  <br>
  <div class="btn-group">
    <%= submit_tag("Search", {class: 'btn btn-primary'}) %>
    <%= link_to "Cancel", "/rails_admin/", { class: 'btn btn-default' } %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

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