diff --git a/app/Models/Typerating.php b/app/Models/Typerating.php index e68a0c39..11999a07 100644 --- a/app/Models/Typerating.php +++ b/app/Models/Typerating.php @@ -13,6 +13,7 @@ class Typerating extends Model 'type', 'description', 'image_url', + 'active', ]; // Validation diff --git a/resources/views/admin/typeratings/fields.blade.php b/resources/views/admin/typeratings/fields.blade.php index beedc127..bd9cd761 100644 --- a/resources/views/admin/typeratings/fields.blade.php +++ b/resources/views/admin/typeratings/fields.blade.php @@ -1,10 +1,10 @@
-
+
{{ Form::label('name', 'Name:') }} {{ Form::text('name', null, ['class' => 'form-control']) }}

{{ $errors->first('name') }}

-
+
{{ Form::label('type', 'Type Code:') }} {{ Form::text('type', null, ['class' => 'form-control']) }}

{{ $errors->first('type') }}

@@ -12,12 +12,12 @@
-
+
{{ Form::label('description', 'Description:') }} {{ Form::text('description', null, ['class' => 'form-control']) }}

{{ $errors->first('description') }}

-
+
{{ Form::label('image_url', 'Image Link:') }} {{ Form::text('image_url', null, ['class' => 'form-control']) }}

{{ $errors->first('image_url') }}

@@ -25,19 +25,16 @@
-
+
-
- -
-
+
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}