-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudentdetailupdate.blade.php
More file actions
52 lines (49 loc) · 1.45 KB
/
Copy pathstudentdetailupdate.blade.php
File metadata and controls
52 lines (49 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php use App\studentdetail ?>
@extends('layout')
@section('header')
@parent
<style type="text/css">
input[type=text], select, textarea{
width: 25%;
height: 40px;
text-align: center;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
padding: 12px 12px 12px 0;
display: inline-block;
}
/* Style the label to display next to the inputs */
/* Style the submit button */
button[type=submit] {
background-color: blue;
color: white;
padding: 12px 20px;
border: 3px;
border-radius: 4px;
cursor: pointer;
float: center;
}
body{
background-color:lightblue;
}
</style>
<body>
<center>
<form action=" {{ url ('updatestudent') }}" method="POST">
@csrf
<input type="text" name="name" value= "{{$detail->name}}" placeholder="Enter name of student"><br><br><br>
<input type="text" name="rollno" value= "{{$detail->rollno}}" placeholder="Enter roll number"><br><br><br>
<input type="text" name="email" value= "{{$detail->email}}" placeholder="Enter Email"><br><br><br>
<input type="text" name="class" value= "{{$detail->class}}" placeholder="Enter class"><br><br><br>
<input type="text" name="address" value= "{{$detail->address}}" placeholder="Enetr Address"><br><br>
<input type="hidden" name="id" value= "{{$detail->id}}" placeholder="Enetr Address"><br><br>
<br>
<br>
<button type="submit">Update</button>
</form>
</center>
</body>
@endsection