-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
121 lines (106 loc) · 5.7 KB
/
forms.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<title>HTML 5 BOOTSTRAP TEMPLATE</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='css/bootstrap-theme.min.css' rel='stylesheet' type='text/css'>
<link href='css/style.css' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Oxygen' rel='stylesheet' type='text/css'>
<!-- Scripts -->
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
<nav class="navbar " role="navigation">
<div class="container top-buffer-20">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<div class="logo">
<img src="" alt="YOUR LOGO HERE"/>
</div>
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav nav-tabs pull-left">
<li class="">
<a href="index.html" class="nav-header" >Home</a>
</li>
<li class="">
<a href="table.html" class="nav-header" >Tables</a>
</li>
<li class="dropdown active">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown
<b class="caret"></b> </a>
<ul class="dropdown-menu">
<li>
<a href="#!">Form</a>
</li>
<li class="divider"></li>
<li>
<a href="#!"> Dropdown 2</a>
</li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title text-center">Create User</h3>
</div>
<div class="panel-body">
<form method="post" action="">
<div class="form-group col-md-6">
<label for="user[first_name]">First Name</label>
<input type="text" value="" maxlength="50" class="form-control"
required="required" name="user[first_name]" />
</div>
<div class="form-group col-md-6">
<label for="user[last_name]">Last Name</label>
<input type="text" value="" maxlength="50" class="form-control"
required="required" name="user[last_name]">
</div>
<div class="form-group col-md-6">
<label for="user[email]">Email</label>
<input type="email" value="" maxlength="50" class="form-control"
required="required" name="user[email]">
</div>
<div class="form-group col-md-6">
<label for="user[mobile]">Mobile</label>
<input type="tel" value="" maxlength="50" class="form-control"
required="required" name="user[mobile]"/>
</div>
<div class="form-group col-md-6">
<label for="user[status]">Status</label>
<select class="form-control" name="user[status]">
<option value="0">Disabled</option>
<option value="1">Inactive</option>
<option value="2">Active</option>
<option value="3">Deleted</option>
</select>
</div>
<div class="form-group">
<input type="submit" value="Create User" id="submit" class="btn btn-primary col-xs-12 col-md-5 col-md-offset-3" name="submit"/>
</div>
</form>
</div>
</div>
</div>
</div>
<footer class="text-center">
<p>All rights reserved. </p>
</footer>
</div>
</body>
</html>