    <div class="">
      <div class="panel-body trennleistexd">
        <form id="attmin" class="form-horizontal" enctype="multipart/form-data" action="/setregmode" method="POST">

          <div class="form-group">

            <input type="hidden" name="_token" value="{{ csrf_token() }}"></input>
          </div>
          <div class="form-group">
            <div class="">

              @if($oldsettings->reg == 0)
              <label for="button" class="control-label">Registrierung ist geschlossen</label>
              <br />
              <button type="submit" class="btn btn-primary">
                Registrierung öffnen
              </button>
              @else
              <label for="button" class="control-label">Registrierung ist offen</label>
              <br />
              <button type="submit" class="btn btn-primary">
                Registrierung schließen
              </button>
              @endif


            </div>
          </div>
        </form>

      </div>
    </div>

