17 lines
645 B
Plaintext
17 lines
645 B
Plaintext
<!-- app/views/reports/index.html.erb -->
|
|
<div style="max-width: 500px; margin: 50px auto; padding: 20px;">
|
|
<h1>Загрузка отчётов по ИНН</h1>
|
|
|
|
<% if notice %>
|
|
<p style="color: green;"><%= notice %></p>
|
|
<% end %>
|
|
|
|
<%= form_with url: reports_path, method: :post, local: true do |f| %>
|
|
<div style="margin-bottom: 15px;">
|
|
<%= f.label :inn, "Введите ИНН:" %>
|
|
<%= f.text_field :inn, placeholder: "1234567890", required: true, style: "width: 100%; padding: 8px;" %>
|
|
</div>
|
|
|
|
<%= f.submit "Загрузить отчёт", style: "padding: 10px 20px; cursor: pointer;" %>
|
|
<% end %>
|
|
</div> |