@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading" style="font-size:16px; font-weight: bold; color:#565656;">Direct Message On Follow</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ url('/dm_config') }}"> {{ csrf_field() }} <div align="center" class="alert alert-info">Send Direct Message when someone follow your account.</div> <div class="form-group{{ $errors->has('text') ? ' has-error' : '' }}"> <label for="text" class="col-md-4 control-label">DM Text</label> <div class="col-md-6"> <textarea class="form-control" name="text" rows="7" required>@if (isset($dm->text)) {{$dm->text }} @endif</textarea> @if ($errors->has('text')) <span class="help-block"> <strong>{{ $errors->first('text') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label for="disable" class="col-md-4 control-label">Disable</label> <div class="col-md-6"> <input type="checkbox" class="form-control" name="disable" @if (isset($dm->text) && $dm->disable) checked @endif> </div> </div> <div class="form-group"> <div align="center"> <button type="submit" class="btn btn-success">Update</button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
info at phpclasses dot org