Better instructions
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<div class="panel panel--centered flex flex-column gap">
|
||||
<header>
|
||||
<h1 class="txt-x-large font-weight-black txt-tight-lines margin-block-end-half">Import a Fizzy account</h1>
|
||||
<div>Upload the .zip file from your Fizzy export</div>
|
||||
<div hidden>Upload the .zip file from your Fizzy export</div>
|
||||
<div hidden>Upload the .zip file from a Fizzy export to create a new account.</div>
|
||||
<div>Create an account using data from a Fizzy export. Upload the exported .zip file below.</div>
|
||||
</header>
|
||||
|
||||
<%= form_with url: imports_path, class: "flex flex-column gap", data: { controller: "form upload-preview" }, multipart: true do |form| %>
|
||||
@@ -14,7 +16,7 @@
|
||||
<%= form.file_field :file, accept: ".zip", required: true, data: { action: "upload-preview#previewFileName", upload_preview_target: "input" } %>
|
||||
</label>
|
||||
|
||||
<button type="submit" class="btn btn--link center txt-medium" data-form-target="submit">
|
||||
<button type="submit" class="btn btn--link center" data-form-target="submit">
|
||||
<span>Start Import →</span>
|
||||
</button>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user