Skip to content

Commit e2a2ddc

Browse files
committed
minor cleanup of the image_upload modal partial
1 parent 3d3ee56 commit e2a2ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<div class="modal is-with-backdrop" id="markdown-image-upload">
22
<div class="modal--container">
33
<div class="modal--header">
4-
<button class="button is-close-button modal--header-button" data-modal="#markdown-image-upload">&times;</button>
4+
<button class="button is-close-button modal--header-button"
5+
data-modal="#markdown-image-upload">&times;</button>
56
Image upload
67
</div>
78
<div class="modal--body">
89
<%= form_tag upload_path, multipart: true, class: 'form-inline upload-form js-upload-form' do %>
910
<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
1011
<div class="form-group">
11-
<%= label_tag :file, 'Insert an image', class: "form-element" %>
12+
<%= label_tag :file, 'Insert an image', class: 'form-element' %>
1213
<div class="form-caption js-max-size">Max file size <%= SiteSetting['MaxUploadSize'] %>.</div>
13-
<%= file_field_tag :file, class: "form-element" %>
14+
<%= file_field_tag :file, class: 'form-element' %>
1415
</div>
1516
<% end %>
1617
</div>
1718
</div>
1819
</div>
19-

0 commit comments

Comments
 (0)