@extends('admin.template.master') @section('title')

IP White List

@endsection @section('main-content')
{!! Form::open(['url' => '/admin/ip-white-list/edit/'.$w->id , 'method'=>'put']) !!}
{!! Form::label('name','Name') !!} {!! Form::text('location',$w->location,['class' => 'form-control', 'placeholder'=> 'Location']) !!} @if ($errors->has('location')) {!! $errors->first('location') !!} @endif
{!! Form::label('ip','Ip') !!} {!! Form::text('ip',$w->ip,['class' => 'form-control', 'placeholder'=> 'IP']) !!} @if ($errors->has('ip')) {!! $errors->first('ip') !!} @endif
{!! Form::label('Status') !!} {!! Form::select('status', ['active' => 'Active', 'inactive' => 'Inactive'], $w->status, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endsection