<%= search_tag %>
<%= csv_button_tag %>
<%= new_button_tag :params => {:tablename => @tablename} %>
<%= paginate_tag @databases %>
<%= counter_tag %>
<%=h column.name %> | <% end %>
---|
<%=link_to database[column.name].blank? ? "": database[column.name], :controller => :databases, :action => :edit, :tablename => @tablename, :id => database["id"] %> | <% end %>
<% form_tag({ :action => :import, :tablename => @tablename }, { :multipart => true, :method => :post }) do %>
<%= file_field_tag :file %> <%= submit_tag hlabel(:import, :button), :confirm => hlabel(:import, :message) %> <% end %>
<%= hlabel :import, :file %>
<%#= note "Let's write an explanatory note later!" %><%= file_field_tag :file %> <%= submit_tag hlabel(:import, :button), :confirm => hlabel(:import, :message) %> <% end %>
<%= index_button_tag :action => :list %>