<%= submit_tag "Explain", class: "btn btn-info" %> <%= submit_tag "Analyze", class: "btn btn-danger" %>
<% end %> <% if @explanation %><%= @explanation %>
<%= link_to "See how to interpret this", "http://www.postgresql.org/docs/current/static/using-explain.html", target: "_blank" %>
<% if (index = @suggested_index) %> <%= render partial: "suggested_index", locals: {index: index} %> <% end %> <% elsif @error %>