1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/spec/views/fieldsets.erb
2017-01-26 16:10:51 -08:00

30 lines
684 B
Text

<form action="/form" method="post">
<fieldset id="agent_fieldset">
<legend>Agent</legend>
<p>
<label for="form_agent_name">Name</label>
<input type="text" name="form[agent_name]" value="James" id="form_agent_name"/>
</p>
<p>
<input type="submit" value="Create"/>
</p>
</fieldset>
</form>
<form action="/form" method="post">
<fieldset id="villain_fieldset">
<legend>Villain</legend>
<p>
<label for="form_villain_name">Name</label>
<input type="text" name="form[villain_name]" value="Ernst" id="form_villain_name"/>
</p>
<p>
<input type="submit" value="Create"/>
</p>
</fieldset>
</form>