- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/create.blade.php
r120759b rd795fa6 1 1 @extends('layouts.app') 2 2 3 @section("title", "Departments - Create new")3 @section("title", "Departments - Create department") 4 4 5 5 @section('pageTitle', 'Create department') … … 28 28 <div class="card-body"> 29 29 <h6 class="card-title">New department</h6> 30 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8" >30 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8" class="needs-validation" novalidate> 31 31 @csrf 32 32 <div class="row"> … … 34 34 <div class="form-group"> 35 35 <label>Name</label> 36 <input type="text" name="name" value="{{ old('name') }}" class="form-control" placeholder="Name" required> 36 <input type="text" name="name" value="{{ old('name') }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required> 37 <div class="invalid-feedback"> 38 Please enter characters with length between [2, 30] 39 </div> 37 40 </div> 38 41 </div> … … 40 43 <div class="form-group"> 41 44 <label>Code</label> 42 <input type="text" name="code" value="{{ old('code') }}" class="form-control" placeholder="Code" required> 45 <input type="text" name="code" value="{{ old('code') }}" minlength="2" maxlength="30" class="form-control" placeholder="Code" required> 46 <div class="invalid-feedback"> 47 Please enter characters with length between [2, 30] 48 </div> 43 49 </div> 44 50 </div>
Note:
See TracChangeset
for help on using the changeset viewer.