1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 22:08:05 +01:00

add placeholder to input-prepend to confirm FF placeholder looks good

This commit is contained in:
Mark Otto 2012-06-04 18:44:50 -07:00
parent c56eb0962a
commit b79c100967
2 changed files with 2 additions and 2 deletions

View File

@ -1196,7 +1196,7 @@ For example, <code>section</code> should be wrapped as inline.
<label class="control-label" for="prependedInput">Prepended text</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text">
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
</div>
<p class="help-block">Here's some help text</p>
</div>

View File

@ -1118,7 +1118,7 @@
<label class="control-label" for="prependedInput">{{_i}}Prepended text{{/i}}</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text">
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}">
</div>
<p class="help-block">{{_i}}Here's some help text{{/i}}</p>
</div>