source: resources/views/dashboard/departments/edit.blade.php@ 24a616f

develop
Last change on this file since 24a616f was 24a616f, checked in by Berat Kjufliju <kufliju@…>, 3 years ago

added documents crud, added last_seen_to_user, edited views

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[194a359]1@extends('layouts.app')
2
[24a616f]3@section("title", "Departments - Edit department")
[194a359]4
[24a616f]5@section('pageTitle', 'Edit department')
[194a359]6
7@section('content')
8
9 <div class="page-header">
10 <nav aria-label="breadcrumb" class="d-flex align-items-start">
11 <ol class="breadcrumb">
12 <li class="breadcrumb-item">
13 <a href="{{ url('dashboard/departments') }}">Departments</a>
14 </li>
15 <li class="breadcrumb-item active" aria-current="page">Edit department</li>
16 </ol>
17 </nav>
18 </div>
19
20 <div class="row">
21 <div class="col-md-12">
22
23 <div class="row">
24 <div class="col-lg-12 col-md-12">
25 <div class="tab-content" id="v-pills-tabContent">
26 <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab">
27 <div class="card">
28 <div class="card-body">
29 <h6 class="card-title">Departmnets</h6>
30 <form action="{{ route("dashboard.departments.edit", ["id" =>$department->id]) }}" method="post" accept-charset="utf-8">
31 @method("patch")
32 @csrf
33 <div class="row">
34 <div class="col-md-6">
35 <div class="form-group">
36 <label class="form-label">Name</label>
37 <input type="text" name="name" value="{{ $department->name }}" class="form-control" placeholder="Name" required>
38 </div>
39 </div>
40 <div class="col-md-6">
41 <div class="form-group">
42 <label class="form-label">Code</label>
43 <input type="text" name="code" value="{{ $department->code }}" class="form-control" placeholder="Code" required>
44 </div>
45 </div>
46 </div>
47 <input type="submit" value="Save changes" class="submitBtn btn btn-primary pull-right m-10">
48 </form>
49 </div>
50 </div>
51 </div>
52 </div>
53 </div>
54 </div>
55 </div>
56 </div>
57
58@endsection
Note: See TracBrowser for help on using the repository browser.