Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
removed the extra space in code demo
Browse files Browse the repository at this point in the history
  • Loading branch information
agcolom committed Jun 24, 2012
1 parent cc8371c commit 8a074fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/forms/docs-forms.html
Expand Up @@ -136,8 +136,8 @@ <h2>Forms in toolbars</h2>
<p>For example:</p>
<pre><code>
&lt;div data-role=&quot;fieldcontain&quot;&gt;
&lt;label for="name"&gt;Text Input:&lt;/label&gt;
&lt;input type="text" name="name" id="name" value="" /&gt;
&lt;label for="name"&gt;Text Input:&lt;/label&gt;
&lt;input type="text" name="name" id="name" value="" /&gt;
&lt;/div&gt;
</code></pre>

Expand Down Expand Up @@ -201,10 +201,10 @@ <h2>Preventing auto-initialization of form elements</h2>
<p>If you'd prefer that a particular form control be left untouched by jQuery Mobile, simply give that element the attribute <code> data-role="none"</code>. For example:</p>
<pre><code>
&lt;label for=&quot;foo&quot;&gt;
&lt;select name=&quot;foo&quot; id=&quot;foo&quot; <strong> data-role=&quot;none&quot;</strong>&gt;
&lt;option value="a" &gt;A&lt;/option&gt;
&lt;option value="b" &gt;B&lt;/option&gt;
&lt;option value="c" &gt;C&lt;/option&gt;
&lt;select name=&quot;foo&quot; id=&quot;foo&quot; <strong>data-role=&quot;none&quot;</strong>&gt;
&lt;option value="a"&gt;A&lt;/option&gt;
&lt;option value="b"&gt;B&lt;/option&gt;
&lt;option value="c"&gt;C&lt;/option&gt;
&lt;/select&gt;
</code></pre>

Expand Down

0 comments on commit 8a074fc

Please sign in to comment.