kosiakkatrina
5 days ago
committed by
GitHub
18 changed files with 20 additions and 170 deletions
@ -1,46 +0,0 @@ |
|||||||
<% content_for :before_content do %> |
|
||||||
<%= govuk_back_link href: @form.back_path %> |
|
||||||
<% end %> |
|
||||||
|
|
||||||
<div class="govuk-grid-row"> |
|
||||||
<div class="govuk-grid-column-two-thirds"> |
|
||||||
<%= form_with model: @form, scope: :form, url: bulk_upload_lettings_log_path(id: "prepare-your-file"), method: :patch do |f| %> |
|
||||||
<%= f.hidden_field :year %> |
|
||||||
|
|
||||||
<span class="govuk-caption-l">Upload lettings logs in bulk (<%= @form.year_combo %>)</span> |
|
||||||
<h1 class="govuk-heading-l">Prepare your file</h1> |
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2"><%= govuk_link_to "Read the full guidance", bulk_upload_lettings_log_path(id: "guidance", form: { year: @form.year }, referrer: "prepare-your-file") %> before you start if you have not used bulk upload before.</p> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Download template</h2> |
|
||||||
|
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2">Use one of these templates to upload logs for 2023/24:</p> |
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li> |
|
||||||
<%= govuk_link_to "Download the new template", @form.template_path %>: In this template, the questions are in the same order as the 2023/24 paper form and web form. |
|
||||||
</li> |
|
||||||
</ul> |
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2">There are 7 or 8 rows of content in the templates. These rows are called the ‘headers’. They contain the CORE form questions and guidance about which questions are required and how to format your answers.</p> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Create your file</h2> |
|
||||||
|
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li>Fill in the template with data from your housing management system. Your data should go below the headers, with one row per log. Leave column A blank - the bulk upload fields start in column B.</li> |
|
||||||
<li>Make sure each column of your data aligns with the matching headers above. You may need to reorder your data.</li> |
|
||||||
<li>Use the <%= govuk_link_to "Lettings #{@form.year_combo} Bulk Upload Specification", @form.specification_path %> to check your data is in the correct format.</li> |
|
||||||
<li><strong>Username field:</strong> To assign a log to someone else, enter the email address they use to log into CORE.</li> |
|
||||||
<li>If you are using the new template, keep the headers. If you are using the legacy template, you can either keep or remove the headers. If you remove the headers, you should also remove the blank column A.</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<%= govuk_inset_text(text: "You can upload both general needs and supported housing logs in the same file for 2023 to 2024 data.") %> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Save your file</h2> |
|
||||||
|
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li>Save your file as a CSV.</li> |
|
||||||
<li>Your file should now be ready to upload.</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<%= f.govuk_submit class: "govuk-!-margin-top-7" %> |
|
||||||
<% end %> |
|
||||||
</div> |
|
||||||
</div> |
|
@ -1,40 +0,0 @@ |
|||||||
<% content_for :before_content do %> |
|
||||||
<%= govuk_back_link href: @form.back_path %> |
|
||||||
<% end %> |
|
||||||
|
|
||||||
<div class="govuk-grid-row"> |
|
||||||
<div class="govuk-grid-column-two-thirds"> |
|
||||||
<%= form_with model: @form, scope: :form, url: bulk_upload_sales_log_path(id: "prepare-your-file"), method: :patch do |f| %> |
|
||||||
<%= f.hidden_field :year %> |
|
||||||
|
|
||||||
<span class="govuk-caption-l">Upload sales logs in bulk (<%= @form.year_combo %>)</span> |
|
||||||
<h1 class="govuk-heading-l">Prepare your file</h1> |
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2"><%= govuk_link_to "Read the full guidance", bulk_upload_sales_log_path(id: "guidance", form: { year: @form.year }, referrer: "prepare-your-file") %> before you start if you have not used bulk upload before.</p> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Download template</h2> |
|
||||||
|
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2">Use one of these templates to upload logs for 2023/24:</p> |
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li><%= govuk_link_to "Download the new template", @form.template_path %>: In this template, the questions are in the same order as the 2023/24 paper form and web form.</li> |
|
||||||
</ul> |
|
||||||
<p class="govuk-body govuk-!-margin-bottom-2">There are 7 or 8 rows of content in the templates. These rows are called the ‘headers’. They contain the CORE form questions and guidance about which questions are required and how to format your answers.</p> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Create your file</h2> |
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li>Fill in the template with data from your housing management system. Your data should go below the headers, with one row per log. The bulk upload fields start at column B. Leave column A blank.</li> |
|
||||||
<li>Make sure each column of your data aligns with the matching headers above. You may need to reorder your data.</li> |
|
||||||
<li>Use the <%= govuk_link_to "Sales #{@form.year_combo} Bulk Upload Specification", @form.specification_path %> to check your data is in the correct format.</li> |
|
||||||
<li><strong>Username field:</strong> To assign a log to someone else, enter the email address they use to log into CORE.</li> |
|
||||||
<li>If you are using the new template, keep the headers. If you are using the legacy template, you can either keep or remove the headers. If you remove the headers, you should also remove the blank column A.</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<h2 class="govuk-heading-s">Save your file</h2> |
|
||||||
<ul class="govuk-list govuk-list--bullet"> |
|
||||||
<li>Save your file as a CSV.</li> |
|
||||||
<li>Your file should now be ready to upload.</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<%= f.govuk_submit %> |
|
||||||
<% end %> |
|
||||||
</div> |
|
||||||
</div> |
|
Loading…
Reference in new issue