Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge commit '7d0b08c583fd84a9d128567ab7565770662bfd07' into HEAD

  • Loading branch information...
commit 85d044130bcaae177b75714143efb3109be57ee9 2 parents c77db16 + 7d0b08c
Jenkins authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/views/content/amend.erb
  2. +1 −1  lib/views/upload.erb
View
2  lib/views/content/amend.erb
@@ -24,7 +24,7 @@
<div class="upload">
<label for="file-added">Supporting documentation (optional)</label>
<br/>
- <input id="file-added" name="uploaded_data" type="file" accept="text/plain, application/pdf, .xls, .xlsx"/>
+ <input id="file-added" name="uploaded_data" type="file" accept="text/*, application/pdf, .xls, .xlsx"/>
<%= erb :errors, :locals => {"key" => "uploaded_data"} %>
</div>
</fieldset>
View
2  lib/views/upload.erb
@@ -2,7 +2,7 @@
<div class="upload">
<label for="<%= id %>">Do you want to upload a file? (20MB limit)</label>
<br/>
- <input id="<%= id %>" name="<%= name %>" type="file" accept="text/plain, application/pdf, .xls, .xlsx"/>
+ <input id="<%= id %>" name="<%= name %>" type="file" accept="text/*, application/pdf, .xls, .xlsx"/>
<%= erb :errors, :locals => {"key" => name} %>
</div>
</fieldset>
Please sign in to comment.
Something went wrong with that request. Please try again.