web/app/views/imports/show_text_import.html.erb
author Marcel Hlopko <marcel.hlopko@gmail.com>
Tue, 25 Jun 2013 22:11:10 +0200
changeset 106 eac4098d544d
parent 67 b02c889c1fb8
child 249 d6e4f3690b6a
permissions -rw-r--r--
huge refactoring to better fit what we agreed on

<%= currently_importing "text" %>

<%= form_for @text_import_query,
  url: text_imports_path,
  builder: CalipelFormBuilder,
  html: { class: "form-horizontal" } do |f| %>  

  <%= f.fieldset_item "Paste text directly" do %>
    <%= f.text_area_item :text, class: "span4", size: "30x10" %>
    <%= f.submit_item "Import" %>
  <% end %>

<% end %>