Skip to content

Commit

Permalink
corresponding changes in main Image module as done in PublicLab.Edito…
Browse files Browse the repository at this point in the history
…r#594 (publiclab#8327)
  • Loading branch information
cypherean authored and billymoroney1 committed Dec 28, 2021
1 parent 2781dc2 commit 087c592
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions app/views/editor/rich.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<div class="ple-module-main_image ple-module container">
<div class="ple-module-guide col-md-3"><h2>2</h2></div>

<div class="ple-module-content col-md-9 container">
<div class="module-mainImage ple-module-content col-md-9 container">
<div class="mainImageBox">
<div id="mainImage" class="ple-drag-drop">
Drag an image here to upload.
Expand All @@ -98,13 +98,15 @@
style="width: 0%;"
></div>
</div>

<input type="file" name="image[photo]" id="thumbnail-img">
<label for="thumbnail-img" class="thumbnailBtn">
<span>Choose a file…</span>
</label>
<div id="thumbnail-filename"></div>
<button id="removeFile" class="thumbnailBtn">Remove File</button>

<div id="imageButtons">
<input type="file" name="image[photo]" id="thumbnail-img">
<label for="thumbnail-img" class="thumbnailBtn">
<span>Choose a file…</span>
</label>
<button id="removeFile" class="thumbnailBtn">Remove File</button>
</div>
<p class="ple-help">
<span class="ple-help-minor"
>Select an optional main image for your post.</span
Expand Down

0 comments on commit 087c592

Please sign in to comment.