@extends('admin::frameDialog')

@section('pageTitle','修改后台路径')

@section('dialogBody')

    <form class="admin-form" method="post" action="?" data-ajax-form onsubmit="return false;">
        <table>
            <tbody>
            <tr>
                <td>
                    <div class="line">
                        <div class="label">原路径</div>
                        <div class="field"><input type="text" name="oldPath" readonly disabled value="{{config('env.ADMIN_PATH','/admin/')}}" placeholder="" /></div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="line">
                        <div class="label">新路径</div>
                        <div class="field"><input type="text" name="newPath" value="/admin_{{\TechOnline\Utils\RandomUtil::readableString(6)}}/" placeholder="" /></div>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
        <input type="hidden" name="type" value="adminPath" />
    </form>

@endsection