TanchoToplineCargo/resources/views/crud/generated/users/edit.blade.php
2024-05-05 10:32:49 +05:45

33 lines
2.1 KiB
PHP

@extends('backend.template')
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Edit Users') }}</h2>
<?php createButton("btn-primary btn-cancel", "", "Cancel", route('users.index')); ?>
</div>
<div class='card-body'>
<form action="{{route('users.update',[$data->id])}}" id="updateCustomForm" method="POST">
@csrf <input type=hidden name='id' value='{{$data->id}}' />
<div class="row">
<div class="col-lg-6">{{createText("name","name","Name",'',$data->name)}}
</div>
<div class="col-lg-6">{{createText("email","email","Email",'',$data->email)}}
</div>
<div class="col-lg-6">{{createText("username","username","Username",'',$data->username)}}
</div>
<!-- <div class="col-lg-6">{{createText("email_verified_at","email_verified_at","Email Verified At",'',$data->email_verified_at)}}
</div> -->
<div class="col-lg-6">{{createText("password","password","Password",'',$data->password)}}
</div>
<!-- <div class="col-lg-6">{{createText("remember_token","remember_token","Remember Token",'',$data->remember_token)}}
</div> -->
<!-- <div class="col-lg-6">{{createText("role","role","Role",'',$data->role)}}
</div> -->
<div class="col-md-12"><?php createButton("btn-primary btn-update", "", "Submit"); ?>
<?php createButton("btn-primary btn-cancel", "", "Cancel", route('users.index')); ?>
</div>
</form>
</div>
</div>
@endsection