Skip to content

Commit

Permalink
Merge pull request #1314 from alphagov/add-link-to-file-upload-page
Browse files Browse the repository at this point in the history
Add a link to the file upload page
  • Loading branch information
AgaDufrat authored Nov 3, 2023
2 parents 48538f1 + bfe8bdb commit a123e5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/guides/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
<%= f.error_list :body %>
<%= file_field_tag 'attachment', multiple: true, class: "js-markdown-file-input hidden" %>
<p class="help-block">
To insert images either <a class="js-markdown-file-input-trigger" href="javascript:void(0);">click here</a>, or drag and drop them into the text area below
To insert images either <a class="js-markdown-file-input-trigger" href="javascript:void(0);">click here</a>, or drag and drop them into the text area below.
</p>
<p class="help-block">
To add an attachment, first <%= link_to "upload the file (opens in new tab)", new_upload_path, target: "_blank" %>.
</p>
<%= f.text_area :body, disabled: disable_inputs, class: 'js-markdown-image-upload input-md-12 form-control markdown-textarea text-area-auto-size text-area-auto-size-large js-text-area-auto-size', rows: 14 %>
</div>
Expand Down

0 comments on commit a123e5d

Please sign in to comment.