app/views/admin/university/organizations/imports/new.html.erb
<% content_for :title, Import.model_name.human %>
<div class="row">
<div class="col-md-6">
<p>
<%= t('imports.hint_html') %>
<br>
<%= t('university.organization.import_hint_html') %>
</p>
<%= simple_form_for @import,
url: admin_university_organizations_imports_path do |f| %>
<%= f.error_notification %>
<%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>
<%# as file can be empty the global object can be unset. To prevent crash in controller add an (unused) hidden field %>
<%= f.input :id, as: :hidden %>
<%= f.input :file %>
<% content_for :action_bar_right do %>
<%= submit f %>
<% end %>
<% end %>
</div>
<div class="col-md-6">
<div class="table-responsive">
<table class="<%= table_classes %>">
<tbody>
<tr>
<th>name*</th>
<td>Le Monde</td>
</tr>
<tr>
<th>long_name</th>
<td>Société Editrice du Monde</td>
</tr>
<tr>
<th>kind</th>
<td>company</td>
</tr>
<tr>
<th>siren</th>
<td>433891850</td>
</tr>
<tr>
<th>nic</th>
<td>00052</td>
</tr>
<tr>
<th>meta description</th>
<td>Le quotidien de référence</td>
</tr>
<tr>
<th>address</th>
<td>13 rue Auguste Blanqui</td>
</tr>
<tr>
<th>zipcode</th>
<td>75013</td>
</tr>
<tr>
<th>city</th>
<td>Paris</td>
</tr>
<tr>
<th>country</th>
<td>FR</td>
</tr>
<tr>
<th>email</th>
<td>contact@lemonde.fr</td>
</tr>
<tr>
<th>phone</th>
<td>+33 1 01 01 01 01</td>
</tr>
<tr>
<th>url</th>
<td>https://www.lemonde.fr</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>