Permalink
Browse files

Fix rank image link field to be string

  • Loading branch information...
nabeelio committed Feb 6, 2018
1 parent e69d9f4 commit b5dbde84c4c786799f474117381b8227642f0777
Showing with 2 additions and 3 deletions.
  1. +1 −2 app/Models/Rank.php
  2. +1 −1 resources/views/admin/ranks/fields.blade.php
@@ -3,12 +3,11 @@
namespace App\Models;
/**
* Class Ranking
* Class Rank
* @package App\Models
*/
class Rank extends BaseModel
{
public $table = 'ranks';
public $fillable = [
@@ -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>

0 comments on commit b5dbde8

Please sign in to comment.