@extends('newBase', [ 'scripts' => [ 'formInputsManager' ] ]) @section('title', 'Add Edit App') @section('content')
@csrf @include('admin.form_inputs.input', [ 'type' => 'hidden', 'id' => 'appId', 'name' => 'appId', 'value' => $app->id ?? '' ]) @include('admin.form_inputs.input', [ 'id' => 'displayId', 'name' => 'displayId', 'label' => 'ID (16 characters, letters and digits)', 'required' => true, 'value' => $app->display_id ?? '', 'customAttributes' => ' minlength="16" maxlength="16" ' ]) @include('admin.form_inputs.input', [ 'id' => 'name', 'name' => 'name', 'label' => 'Name', 'required' => true, 'value' => $app->name ?? '' ]) @include('admin.form_inputs.select', [ 'id' => 'type', 'name' => 'type', 'label' => 'Type', 'required' => true, 'options' => \Modules\AppManagement\Enumerables\AppType::APP_TYPE_NAMES, 'selected' => $app->type ?? '', 'includeEmptyOption' => true ])
@include('common.notification') @include('common.confirmation') @endsection