@extends('admin/layouts/master')
@section('title')
Admin Panel | Edit Tag | Store My Notes
@endsection
@section('content')
<div class="panel panel-theme">
<div class="panel-heading">
<h3 class="panel-title">Edit Tag</h3>
</div>
<div class="panel-body">
{!! Form::model($tag, ['route'=> ['admin.tag.update', $tag->id],'method'=>'PUT', 'data-parsley-validate' => true, 'class' => 'form-horizontal']) !!}
<div class="form-group">
{{ Form::label('name', 'Tag Name', ['class' => 'control-label col-sm-2']) }}
<div class="col-sm-10">
{{ Form::text('name', null, ['class' => 'form-control', 'required' => true]) }}
</div>
</div>
<div class="form-group">
{{ Form::label('description', 'Tag Description', ['class' => 'control-label col-sm-2']) }}
<div class="col-sm-10">
{{ Form::textarea('description', null, ['rows' => 5, 'class' => 'form-control', 'minlength' => 10]) }}
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
{{ Form::submit('Update', ['class' => 'btn btn-primary']) }}
</div>
</div>
{!! Form::close() !!}
</div>
</div>
@endsection
|