Sha256: add11ca399241dc49d7ec9b9e342c9e700b507ad3495774139e8c9323aaa9e2d

Contents?: true

Size: 1.15 KB

Versions: 56

Compression:

Stored size: 1.15 KB

Contents

<%= form_for(@import_data, :as => :document,
            :url => (@import_data.new_record? ? main_app.documents_path : main_app.document_path),
            :method => (@import_data.new_record? ? :post : :put),
            :html => {:id=>"form_document", :class=>"mb-0 form-horizontal", :multipart => true, :target => "iframe_document"}) do |f| %>

  <div class="modal-body">

    <%= @import_data.errors[:base].to_sentence %>

    <%= hidden_field_tag :redirect_url, params[:redirect_url] %>

    <%= hidden_field_tag :data_type, params[:data_type] %>

    <div class="add-photos-path">

      <div class="row">
        <div class="col-md-12">
          <%= theme_form_field(@import_data, :document, html_options: {type: 'file'}, label: "Choose File", param_name: "document") %>
        </div>
      </div>

    </div>

  </div>

  <div class="modal-footer">
    <div class="pull-right">
      
      <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>

      <%= submit_tag "Upload", "data-reset-text"=>"Upload", "data-loading-text"=>"Uploading ...", :class=>"btn btn-primary ml-10" %>
    </div>

  </div>

  <div class="cl-10"></div>

<% end %>

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.11.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.10.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.9.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.8.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.7.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.6.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.5.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.4.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.3.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.2.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.1.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.2.0.pre.materialize app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.39 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.38 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.37 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.36 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.35 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.34 app/views/kuppayam/import_data/_form.html.erb
kuppayam-0.1.33 app/views/kuppayam/import_data/_form.html.erb