layout
This commit is contained in:
parent
b1b8f1b12e
commit
86e1d1dd97
2 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,7 @@ as defined by the routes in the `admin/` namespace
|
||||||
|
|
||||||
<%= link_to "Delayed Jobs", manager_delayed_job_path, class: "navigation__link" %>
|
<%= link_to "Delayed Jobs", manager_delayed_job_path, class: "navigation__link" %>
|
||||||
<%= link_to "Features", manager_flipper_path, class: "navigation__link" %>
|
<%= link_to "Features", manager_flipper_path, class: "navigation__link" %>
|
||||||
|
<%= link_to "Import data via CSV", manager_import_procedure_tags_path, class: "navigation__link" %>
|
||||||
<% if Rails.application.secrets.sendinblue[:enabled] && ENV["SAML_IDP_ENABLED"] == "enabled" %>
|
<% if Rails.application.secrets.sendinblue[:enabled] && ENV["SAML_IDP_ENABLED"] == "enabled" %>
|
||||||
<%= link_to "Sendinblue", ENV.fetch("SENDINBLUE_LOGIN_URL"), class: "navigation__link", target: '_blank' %>
|
<%= link_to "Sendinblue", ENV.fetch("SENDINBLUE_LOGIN_URL"), class: "navigation__link", target: '_blank' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
7
app/views/manager/procedures/import_data.html.erb
Normal file
7
app/views/manager/procedures/import_data.html.erb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<div style='margin-top: 1rem; margin-left: 1rem;'>
|
||||||
|
<h1>Importer des tags sur des démarches</h1>
|
||||||
|
<%= form_tag(manager_import_tags_path, method: :post, multipart: true, style: 'margin-top: 1rem;') do |f| %>
|
||||||
|
<%= file_field_tag :tags_csv_file, required: true, accept: 'text/csv', size: "1" %>
|
||||||
|
<%= submit_tag "Importer", data: { disable_with: "Import en cours..." } , style: 'margin-top: 1rem;'%>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
Loading…
Add table
Reference in a new issue