1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/views/with_scope.erb
Jonas Nicklas and Kevin Fitzpatrick 4885af6393 Added 'within' with nested scopes.
2009-11-14 15:11:29 +01:00

36 lines
No EOL
1.1 KiB
Text

<h1>This page is used for testing various scopes</h1>
<p id="for_foo">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim venia.
<a href="/redirect">Go</a>
</p>
<div id="for_bar">
<ul>
<li>With Simple HTML: <a href="/with_simple_html">Go</a>
<form action="/redirect" method="post" accept-charset="utf-8">
<p>
<label for="simple_first_name">First Name</label>
<input type="text" name="first_name" value="John" id="simple_first_name"/>
</p>
<p><input type="submit" value="Go"/></p>
</form>
</li>
<li>Bar: <a href="/foo">Go</a>
<form action="/form" method="post" accept-charset="utf-8">
<p>
<label for="bar_first_name">First Name</label>
<input type="text" name="form[first_name]" value="Peter" id="bar_first_name"/>
</p>
<p><input type="submit" value="Go"/></p>
</form>
</li>
</ul>
</div>
<div id="another_foo">
<ul>
<li>With Simple HTML: <a href="/">Go</a>
</ul>
</div>