<%=t("questions") %>

<% @questions.each do |question| %> <% end %>
<%= Spree::Question.human_attribute_name(:question) %> <%= Spree::Question.human_attribute_name(:answer) %> <%= sort_link @search,:created_at, t(:created_at), { :default_order => "desc" }, {:title => 'admin_products_listing_created_at_title'} %> <%= t("action") %>
<%= question.question %> <%= question.answer %> <%= time_tag question.created_at, :format => '%B %e, %Y %l:%M %P' %> <%= link_to_edit question %>   <%= link_to_delete question %>
<%= paginate @questions %> <% content_for :sidebar do %>
<%= search_form_for [:admin, @search] do |f| %>

<%= t(:search) %>

<%- locals = {:f => f} %>

<%= f.label :question_cont, t(:question) %>
<%= f.text_field :question_cont, :size => 40 %>

<%= f.label :answer_cont, t(:answer) %>
<%= f.text_field :answer_cont, :size => 40 %>

<%= button t(:search) %>

<% end %>
<% end %>