Fixing XSS vulnerability by using the proper output tags
This commit is contained in:
@@ -1,35 +1,35 @@
|
||||
<!-- Code Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('code', 'Code:') !!}
|
||||
<p>{!! $fare->code !!}</p>
|
||||
{{ Form::label('code', 'Code:') }}
|
||||
<p>{{ $fare->code }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Name Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('name', 'Name:') !!}
|
||||
<p>{!! $fare->name !!}</p>
|
||||
{{ Form::label('name', 'Name:') }}
|
||||
<p>{{ $fare->name }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Price Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('price', 'Price:') !!}
|
||||
<p>{!! $fare->price !!}</p>
|
||||
{{ Form::label('price', 'Price:') }}
|
||||
<p>{{ $fare->price }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Cost Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('cost', 'Cost:') !!}
|
||||
<p>{!! $fare->cost !!}</p>
|
||||
{{ Form::label('cost', 'Cost:') }}
|
||||
<p>{{ $fare->cost }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Notes Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('notes', 'Notes:') !!}
|
||||
<p>{!! $fare->notes !!}</p>
|
||||
{{ Form::label('notes', 'Notes:') }}
|
||||
<p>{{ $fare->notes }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Active Field -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('active', 'Active:') !!}
|
||||
<p>{!! $fare->active !!}</p>
|
||||
{{ Form::label('active', 'Active:') }}
|
||||
<p>{{ $fare->active }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user