mirror of
https://github.com/itflow-org/itflow
synced 2026-08-24 00:15:12 +00:00
Add some missing maxlength form options to prevent info overflow and result in error 500
This commit is contained in:
@@ -135,7 +135,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-map-marker-alt"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control" name="location" placeholder="Enter a location">
|
||||
<input type="text" class="form-control" name="location" placeholder="Enter a location" maxlength="250">
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -151,7 +151,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-barcode"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control" name="code" placeholder="Enter product code eg. SKU #">
|
||||
<input type="text" class="form-control" name="code" placeholder="Enter product code eg. SKU #" maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-map-marker-alt"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control" name="location" placeholder="Enter a location" value="<?= $product_location ?>">
|
||||
<input type="text" class="form-control" name="location" placeholder="Enter a location" maxlength="250" value="<?= $product_location ?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -136,7 +136,7 @@ ob_start();
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-barcode"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control" name="code" placeholder="Enter product code eg. SKU #" value="<?= $product_code ?>">
|
||||
<input type="text" class="form-control" name="code" placeholder="Enter product code eg. SKU #" maxlength="200" value="<?= $product_code ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user