{{-- Pterodactyl - Panel --}} {{-- Copyright (c) 2015 - 2017 Dane Everitt --}} {{-- This software is licensed under the terms of the MIT license. --}} {{-- https://opensource.org/licenses/MIT --}} @extends('layouts.master') @section('title') @lang('base.api.new.header') @endsection @section('content-header')

@lang('base.api.new.header')@lang('base.api.new.header_sub')

@endsection @section('footer-scripts') @parent @endsection @section('content')
@lang('base.api.new.form_title')

@lang('base.api.new.descriptive_memo.description')

@lang('base.api.new.allowed_ips.description')

{!! csrf_field() !!}
@foreach($permissions['user'] as $block => $perms)

@lang('base.api.permissions.user.' . $block . '_header')

@foreach($perms as $permission)

@lang('base.api.permissions.user.' . $block . '.' . $permission . '.desc')

@endforeach
@if ($loop->iteration % 2 === 0)
@endif @endforeach
@if(Auth::user()->root_admin)
@foreach($permissions['admin'] as $block => $perms)

@lang('base.api.permissions.admin.' . $block . '_header')

@foreach($perms as $permission)

@lang('base.api.permissions.admin.' . $block . '.' . $permission . '.desc')

@endforeach
@if ($loop->iteration % 3 === 0)
@endif @if ($loop->iteration % 2 === 0)
@endif @endforeach
@endif
@endsection