"Dinamic form with custom field action"
Bootstrap 3.3.0 Snippet by georgevlada

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!-- FontAwesome - To be removed-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div class="container-fluid">
<div class="row">
<div class="col-lg-6">
<h1>Product characteristics</h1>
<form>
<div class="control-group">
<label for="product_type">Product type</label>
<div class="entry input-group">
<input type="text" class="form-control" id="product_type" placeholder="Search for a value or add one" value="resealed">
<span class="input-group-btn">
<button class="btn btn-link" type="button"><i class="fa fa-times text-danger fa-lg"></i></button>
<button class="btn btn-link" type="button"><i class="fa fa-plus text-success fa-lg"></i></button>
</span>
</div>
</div>
<br/>
<div class="control-group">
<div class="input-group">
<input type="text" class="form-control" id="product_type" placeholder="Search for a value or add one">
<span class="input-group-btn">
<button class="btn btn-link" type="button"><i class="fa fa-times text-danger fa-lg"></i></button>
</span>
</div>
</div>
<hr>
<div class="control-group">
<label for="color">Color</label>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: