<div class="panel panel-primary">

    <header class="panel-heading">
      <h2>@lang('backend.maintenace-mode')</h2>
    </header>

    <div class="panel-body">
      @include('flash::message')

      <form action="{{ route('updateMaintenace') }}" method="POST">
       {{ csrf_field() }}

        <div class="col-xs-12 col-sm-12 col-md-8 col-sm-offset-0 col-md-offset-2">
          <label class="control-label">@lang('backend.enable-maintenace-mode')</label> <br>
          <small class="pull-left">@lang('backend.enable-maintenace-mode-desc')</small>
          <input type="checkbox" name="mode" class="pull-right" {{ $mtMode == 1 ? 'checked' : '' }}>
        </div>

        <div class="col-xs-12 text-right" style="padding-right: 0;margin-top: 15px;">
          <button type="submit" class="btn btn-primary">@lang('backend.update')</button>
        </div>

      </form>

    </div>
  </div>