Sha256: f13841c1de60d768b3f724f918cffc243e1254b920d295c7e6dfa400a51e6cde

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

<%= form_for User.new do |f| %>
  <ul>
    <li>
      <%= f.label :name %>
      <%= f.text_field :name %>
    </li>

    <% if @datetime %>
      <li id="datetime">
        <%= f.label :active_at %>
        <%= f.datetime_select :active_at -%>
      </li>
    <% end %>

    <% if @time %>
      <li id="time">
        <%= f.label :active_at, 'Active at' %>
        <%= f.time_select :active_at %>
      </li>
    <% end %>

    <% if @date %>
      <li id="date">
        <%= f.label :active_at, 'Active at' %>
        <%= f.date_select :active_at %>
      </li>
    <% end %>
    <li>
      <input type="submit" value="Submit" />
    </li>

    <li>
      <label for="useless_select">Useless select</label>
      <select id="useless_select" name="123">
        <option value="value1">Value 1</option>
        <option value="value2">Value 2</option>
      </select>
    </li>

    <li>
      <label for="useless_checkbox">Useless checkbox</label>
      <input id="useless_checkbox" type="checkbox" checked="checked" />
    </li>

    <li>
      <label for="useless_unchecked_checkbox">Useless unchecked checkbox</label>
      <input id="useless_unchecked_checkbox" type="checkbox"/>
    </li>
  </ul>
<% end -%>

<table id="useless_table">
  <caption>Useless Table</caption>
  <tr>
    <td>Cuba Pete</td>
    <td>King of the Ramba beat</td>
  </tr>
  <tr>
    <td>Lou Bega</td>
    <td>Mambo No. 5</td>
  </tr>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hermes-0.4.0 test/rails_app/app/views/users/new.html.erb
hermes-0.3.0 test/rails_app/app/views/users/new.html.erb