Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add placeholders to input fields in upload template

  • Loading branch information...
commit 4a505cc4a9bae2ad84fd8e9750cd052513e3ee7e 1 parent 9b7adf8
@hvelarde hvelarde authored
Showing with 5 additions and 4 deletions.
  1. +3 −1 docs/HISTORY.txt
  2. +2 −3 src/collective/upload/viewlets/tmpls.pt
View
4 docs/HISTORY.txt
@@ -6,7 +6,9 @@ Because you have to know where your towel is.
1.0b4 (unreleased)
^^^^^^^^^^^^^^^^^^
-- Fix translation [quimera].
+- Add placeholders to input fields in upload template. [hvelarde]
+
+- Fix translation. [quimera]
1.0b3 (2013-01-15)
View
5 src/collective/upload/viewlets/tmpls.pt
@@ -4,9 +4,8 @@
<tr class="template-upload fade">
<td class="preview"><span class="fade"></span></td>
<td class="name">
- <input name="title[]" type="text" value="{%=file.name%}" required="required"/><br/>
- <label for="description">{%=o.options.description_i18n%}</label>
- <textarea name="description[]" cols="10" rows="3"></textarea>
+ <input placeholder="Title" name="title[]" type="text" value="{%=file.name%}" required="required"/>
+ <textarea placeholder="Description" name="description[]" cols="10" rows="3"></textarea>
</td>
<td class="size"><span>{%=o.formatFileSize(file.size)%}</span></td>
{% if (file.error) { %}
Please sign in to comment.
Something went wrong with that request. Please try again.