Sha256: 89ed44016ce6fa1a348004e1f92fc501fe10d20a4d048b29d84e658bd6b87138

Contents?: true

Size: 1.35 KB

Versions: 15

Compression:

Stored size: 1.35 KB

Contents

<%# frozen_string_literal: true %>
<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>
  <input name="disabled" disabled="disabled"/>
</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>
          <label for="bar_other_name">Other Name</label>
          <input type="text" name="form[other_name]" value="James" id="bar_other_name" disabled="disabled"/>
        </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>

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
capybara-2.12.0 lib/capybara/spec/views/with_scope.erb
capybara-2.11.0 lib/capybara/spec/views/with_scope.erb
capybara-2.10.2 lib/capybara/spec/views/with_scope.erb
capybara-2.10.1 lib/capybara/spec/views/with_scope.erb
capybara-2.10.0 lib/capybara/spec/views/with_scope.erb
capybara-2.9.2 lib/capybara/spec/views/with_scope.erb
tdiary-5.0.2 vendor/bundle/gems/capybara-2.8.0/lib/capybara/spec/views/with_scope.erb
capybara-2.9.1 lib/capybara/spec/views/with_scope.erb
capybara-2.9.0 lib/capybara/spec/views/with_scope.erb
capybara-2.8.1 lib/capybara/spec/views/with_scope.erb
capybara-2.8.0 lib/capybara/spec/views/with_scope.erb
tdiary-5.0.1 vendor/bundle/gems/capybara-2.7.1/lib/capybara/spec/views/with_scope.erb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/capybara-2.7.1/lib/capybara/spec/views/with_scope.erb
capybara-2.7.1 lib/capybara/spec/views/with_scope.erb
capybara-2.7.0 lib/capybara/spec/views/with_scope.erb