Fix rank image link field to be string

This commit is contained in:
Nabeel Shahzad 2018-02-06 14:09:20 -06:00
parent e69d9f4c38
commit b5dbde84c4
2 changed files with 2 additions and 3 deletions

View File

@ -3,12 +3,11 @@
namespace App\Models;
/**
* Class Ranking
* Class Rank
* @package App\Models
*/
class Rank extends BaseModel
{
public $table = 'ranks';
public $fillable = [

View File

@ -16,7 +16,7 @@
<div class="row">
<div class="form-group col-md-12">
{!! Form::label('image_link', 'Image Link:') !!}
{!! Form::number('image_link', null, ['class' => 'form-control']) !!}
{!! Form::input('image_link', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('image_link') }}</p>
</div>
</div>