Sha256: f357a23a8f713865257155822f84b2a6a12701589bdb9ea90631a4449afc3e83

Contents?: true

Size: 600 Bytes

Versions: 10

Compression:

Stored size: 600 Bytes

Contents

<%= form_for(@user) do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :username %><br>
    <%= f.text_field :username %>
  </div>
  <div class="field">
    <%= f.label :password %><br>
    <%= f.password_field :password %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
neutral-0.0.10 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.9 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.8 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.7 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.6 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.5 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.4 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.3 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.2 spec/dummy/app/views/users/_form.html.erb
neutral-0.0.1 spec/dummy/app/views/users/_form.html.erb