File: tables.erb

package info (click to toggle)
ruby-capybara 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 948 kB
  • ctags: 516
  • sloc: ruby: 7,998; makefile: 4
file content (62 lines) | stat: -rw-r--r-- 1,256 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<form action="/form" method="post">
  <table id="agent_table">
    <caption>Agent</caption>

    <tr>
      <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>