Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 40ac390b

Von Sven Schöling vor etwa 3 Jahren hinzugefügt

  • ID 40ac390b4984b892093a7cec642dd40be6c62c7d
  • Vorgänger b5985bcf
  • Nachfolger b77b3b5d

mobile: P.M.input_tag

Unterschiede anzeigen:

templates/mobile_webpages/test/components.html
26 26

  
27 27
<h2>Inputs</h2>
28 28

  
29
[% P.M.input_tag("", "test string") %]
29

  
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") %]
34

  
35
<h3>With grid:</h3>
36
<div class="row">
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") %]
41
</div>

Auch abrufbar als: Unified diff