Sha256: 98b84801f9149d8267f8828b3f945b2b43514a9852fbe17f964f94d360e9e79d

Contents?: true

Size: 1.31 KB

Versions: 70

Compression:

Stored size: 1.31 KB

Contents

<%= form_for(@export, url: apidae.import_create_path, method: :post, html: {class: styles[:form]}) do |f| %>
  <% if @export.errors.any? %>
    <div id="apidae_form_errors">
      <ul>
        <% @export.errors.full_messages.each do |message| %>
          <li><%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>
  <p>
    Pour que les données soient importées correctement, vos projets doivent être configurés pour exporter les données
    au format <strong>JSON V2</strong>, en <strong>groupant les objets exportés</strong>. L'adresse du fichier d'export
    est à récupérer dans :<br/>
    <em>Page du projet Apidae > Onglet "Calcul des sélections et Exports " > Accéder à la ficher de l'export > Champ "Fichier d'export"</em>
  </p>

  <div class="<%= styles[:form_field] %>">
    <div><%= f.label :project_id %></div>
    <div><%= f.text_field :project_id, placeholder: "Ex: 1234" %></div>
  </div>
  <div class="<%= styles[:form_field] %>">
    <div><%= f.label :file_url %></div>
    <div><%= f.text_field :file_url, placeholder: "Ex: http://export.apidae-tourisme.com/exports/1234_20200101-5678_ABCdef.zip" %></div>
  </div>
  <%= f.hidden_field :status %>
  <div class="<%= styles[:form_actions] %>">
    <%= f.submit 'Valider' %> | <%= link_to 'Retour', :back, class: styles[:back] %>
  </div>
<% end %>

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
apidae-1.4.13 app/views/apidae/import/_form.html.erb
apidae-1.4.12 app/views/apidae/import/_form.html.erb
apidae-1.4.11 app/views/apidae/import/_form.html.erb
apidae-1.4.10 app/views/apidae/import/_form.html.erb
apidae-1.4.9 app/views/apidae/import/_form.html.erb
apidae-1.4.8 app/views/apidae/import/_form.html.erb
apidae-1.4.7 app/views/apidae/import/_form.html.erb
apidae-1.4.6 app/views/apidae/import/_form.html.erb
apidae-1.4.5 app/views/apidae/import/_form.html.erb
apidae-1.4.4 app/views/apidae/import/_form.html.erb
apidae-1.4.3 app/views/apidae/import/_form.html.erb
apidae-1.2.35 app/views/apidae/import/_form.html.erb
apidae-1.2.34 app/views/apidae/import/_form.html.erb
apidae-1.2.33 app/views/apidae/import/_form.html.erb
apidae-1.4.2 app/views/apidae/import/_form.html.erb
apidae-1.4.1 app/views/apidae/import/_form.html.erb
apidae-1.4.0 app/views/apidae/import/_form.html.erb
apidae-1.2.32 app/views/apidae/import/_form.html.erb
apidae-1.2.31 app/views/apidae/import/_form.html.erb
apidae-1.2.30 app/views/apidae/import/_form.html.erb