Add character limit info

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
This commit is contained in:
Marcin Mikołajczak 2018-06-01 22:54:43 +02:00
parent 1b794c8508
commit cd9095eb87
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Caption</label> <label class="font-weight-bold text-muted small">Caption</label>
<input type="text" class="form-control" name="caption" placeholder="Add a caption here"> <input type="text" class="form-control" name="caption" placeholder="Add a caption here. Up to 150 characters." maxlength=150>
</div> </div>
<button type="submit" class="btn btn-outline-primary btn-block">Post</button> <button type="submit" class="btn btn-outline-primary btn-block">Post</button>
</form> </form>
@ -59,4 +59,4 @@
</div> </div>
@endsection @endsection

View file

@ -28,7 +28,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Caption</label> <label class="font-weight-bold text-muted small">Caption</label>
<input type="text" class="form-control" name="caption" placeholder="Add a caption here"> <input type="text" class="form-control" name="caption" placeholder="Add a caption here. Up to 150 characters." maxlength=150>
</div> </div>
<button type="submit" class="btn btn-outline-primary btn-block">Post</button> <button type="submit" class="btn btn-outline-primary btn-block">Post</button>
</form> </form>
@ -50,4 +50,4 @@
</div> </div>
@endsection @endsection