Sha256: 7c4223129de8c30db24969447c807fd722798700523b5774c4cdbc6dccf654ee

Contents?: true

Size: 1.29 KB

Versions: 26

Compression:

Stored size: 1.29 KB

Contents

<form action="/form" method="post">
  <table id="agent_table">
    <caption>Agent</caption>

    <tr onclick="this.querySelector('td label').innerHTML = 'Clicked'">
      <td>
        <label for="form_agent_name">Name</label>
      </td>
      <td>
        <input type="text" name="form[agent_name]" value="James" id="form_agent_name"/>
      </td>
    </tr>

    <tr>
      <td colspan="2">
        <input type="submit" value="Create"/>
      </td>
    </tr>
  </table>
</form>

<form action="/form" method="post">
  <table id="girl_table">
    <caption>Girl</caption>

    <tr>
      <td>
        <label for="form_girl_name">Name</label>
      </td>
      <td>
        <input type="text" name="form[girl_name]" value="Vesper" id="form_girl_name"/>
      </td>
    </tr>

    <tr>
      <td colspan="2">
        <input type="submit" value="Create"/>
      </td>
    </tr>
  </table>
</form>

<form action="/form" method="post">
  <table id="villain_table">
    <caption>Villain</caption>

    <tr>
      <td>
        <label for="form_villain_name">Name</label>
      </td>
      <td>
        <input type="text" name="form[villain_name]" value="Ernst" id="form_villain_name"/>
      </td>
    </tr>

    <tr>
      <td colspan="2">
        <input type="submit" value="Create"/>
      </td>
    </tr>
  </table>
</form>

Version data entries

26 entries across 25 versions & 2 rubygems

Version Path
capybara-3.14.0 lib/capybara/spec/views/tables.erb
capybara-3.13.2 lib/capybara/spec/views/tables.erb
capybara-3.13.1 lib/capybara/spec/views/tables.erb
capybara-3.13.0 lib/capybara/spec/views/tables.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.6.0/lib/capybara/spec/views/tables.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.12.0/lib/capybara/spec/views/tables.erb
capybara-3.12.0 lib/capybara/spec/views/tables.erb
capybara-3.11.1 lib/capybara/spec/views/tables.erb
capybara-3.11.0 lib/capybara/spec/views/tables.erb
capybara-3.10.1 lib/capybara/spec/views/tables.erb
capybara-3.10.0 lib/capybara/spec/views/tables.erb
capybara-3.9.0 lib/capybara/spec/views/tables.erb
capybara-3.8.2 lib/capybara/spec/views/tables.erb
capybara-3.8.1 lib/capybara/spec/views/tables.erb
capybara-3.8.0 lib/capybara/spec/views/tables.erb
capybara-3.7.2 lib/capybara/spec/views/tables.erb
capybara-3.7.1 lib/capybara/spec/views/tables.erb
capybara-3.7.0 lib/capybara/spec/views/tables.erb
capybara-3.6.0 lib/capybara/spec/views/tables.erb
capybara-3.5.1 lib/capybara/spec/views/tables.erb