]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5329 Display placeholder in date input
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 23 Jun 2014 09:10:03 +0000 (11:10 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 23 Jun 2014 09:10:03 +0000 (11:10 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb

index 69d86d036e0a7d8afeb609fede31d4daf6485545..77d8b728da82044d022851784775ea2d3a042e45 100644 (file)
@@ -8,9 +8,9 @@
     <form class="marginbottom10" method="get" action="<%= ApplicationController.root_context %>/profiles/changelog">
       <input name="key" type="hidden" value="<%= @profile.key() %>"/>
       <%= message('quality_profiles.changelog_from') -%>
-      <input name="since" type="text" value="<%= params['since'] %>"/>
+      <input name="since" type="text" value="<%= params['since'] %>" placeholder="1970-01-31"/>
       <%= message('to').downcase -%>
-      <input name="to" type="text" value="<%= params['to'] %>"/>
+      <input name="to" type="text" value="<%= params['to'] %>" placeholder="1970-01-31"/>
       <input type="submit" value="<%= h message('load_verb') -%>" id="submit"/>
     </form>