3 <h1>Material Components Tests</h1>
8 [% P.M.button_tag("", "button") %]
9 [% P.M.button_tag("", P.M.icon('add'), floating=1) %]
10 [% P.M.submit_tag("", "submit") %]
11 [% P.M.submit_tag("", "disabled submit", disabled=1) %]
12 [% P.M.button_tag("", "button with left icon", icon="cloud", icon_left=1) %]
13 [% P.M.button_tag("", "button with right icon", icon="save", icon_right=1) %]
14 [% P.M.button_tag("", "flat button", flat=1) %]
15 [% P.M.button_tag("", "large button", large=1) %]
16 [% P.M.button_tag("", "small button", small=1) %]
17 [% P.M.button_tag("", "disabled small button", disabled=1, small=1) %]
21 [% P.M.icon("alarm") %]
22 [% P.M.icon("alarm", large=1) %]
23 [% P.M.icon("alarm", medium=1) %]
24 [% P.M.icon("alarm", small=1) %]
25 [% P.M.icon("alarm", tiny=1) %]
30 [% P.M.input_tag("", "", label="test input without anything") %]
31 [% P.M.input_tag("", "default value", label="test input with default value") %]
32 [% P.M.input_tag("", "", placeholder="with placeholder", label="test input with placeholder") %]
33 [% P.M.input_tag("", "default value", placeholder="with placeholder", label="test input with placeholder and default value") %]
37 [% P.M.input_tag("", "", label="2 cols", class="col s6") %]
38 [% P.M.input_tag("", "", label="2 cols", class="col s6") %]
39 [% P.M.input_tag("i1", "", placeholder="2 cols placeholder", icon="phone", class="col s6") %]
40 [% P.M.input_tag("i2", "", label="2 cols label", icon="account_circle", class="col s6") %]
46 [% P.M.date_tag("d1", "", label="date of birth", class="col s6", icon="date_range") %]
47 [% P.M.date_tag("d1", "", class="col s6", placeholder="date of birth?", icon="access_time") %]