aboutsummaryrefslogtreecommitdiff
path: root/views/default/html5/theme_preview/forms/inputs.php
blob: de38dc71c47313aaa8fa2521d1ebb23c2bb1fdc9 (plain)
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
<form action="#">
	<fieldset>
		<legend>HTML5 Inputs</legend>
		<div>
			<label for="color">Color input (.elgg-input-color):</label>
			<?php echo elgg_view('input/color', array(
					'name' => 'color',
					'id' => 'color',
				));
			?>
		</div>
		<div>
			<label for="datetime-local">Local datetime input (.elgg-input-datetime-local):</label>
			<?php echo elgg_view('input/datetime-local', array(
					'name' => 'datetime-local',
					'id' => 'datetime-local',
				));
			?>
		</div>
		<div>
			<label for="datetime">Datetime input (.elgg-input-datetime):</label><br />
			<?php echo elgg_view('input/datetime', array(
					'name' => 'datetime',
					'id' => 'datetime',
				));
			?>
		</div>
		<div>
			<label for="email">Email input (.elgg-input-email):</label><br />
			<?php echo elgg_view('input/email', array(
					'name' => 'email',
					'id' => 'email',
				));
			?>
		</div>
		<div>
			<label for="image">Image input (.elgg-input-image):</label><br />
			<?php echo elgg_view('input/image', array(
					'name' => 'image',
					'id' => 'image',
				));
			?>
		</div>
		<div>
			<label for="month">Month input (.elgg-input-month):</label><br />
			<?php echo elgg_view('input/month', array(
					'name' => 'month',
					'id' => 'month',
				));
			?>
		</div>
		<div>
			<label for="number">Number input (.elgg-input-number):</label>
			<?php echo elgg_view('input/number', array(
					'name' => 'number',
					'id' => 'number',
					));
			?>
		</div>
		<div>
			<label for="range">Range input (.elgg-input-range):</label>
			<?php echo elgg_view('input/range', array(
					'name' => 'range',
					'id' => 'range',
				));
			?>
		</div>
		<div>
			<label for="search">Tags input (.elgg-input-search):</label>
			<?php echo elgg_view('input/search', array(
					'name' => 'search',
					'id' => 'search',
				));
			?>
		</div>
		<div>
			<label for="tel">Telephone input (.elgg-input-tel):</label>
			<?php echo elgg_view('input/tel', array(
					'name' => 'tel',
					'id' => 'tel',
				));
			?>
		</div>
		<div>
			<label for="time">Time input (.elgg-input-time):</label>
			<?php echo elgg_view('input/time', array(
					'name' => 'time',
					'id' => 'time',
				));
			?>
		</div>
		<div>
			<label for="week">Week input (.elgg-input-week):</label>
			<?php echo elgg_view('input/week', array(
					'name' => 'week',
					'id' => 'week',
				));
			?>
		</div>
	</fieldset>
</form>