Sha256: f0d3403b88a40343e202950f15b77c4d9f36ebdedf03e9d3010640a741f0c624

Contents?: true

Size: 560 Bytes

Versions: 94

Compression:

Stored size: 560 Bytes

Contents

<% obj = params[:action] == 'new' ? @user : [:registrations, @user] %>
<%= form_for obj 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 :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

94 entries across 66 versions & 2 rubygems

Version Path
merit-4.0.3 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.12 test/dummy/app/views/users/_form.html.erb
merit-4.0.2 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.11 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.10 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.09 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.08 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.07 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.06 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.05 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.04 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.03 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.02 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.01 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.5.00 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.0.4 test/dummy/app/views/users/_form.html.erb
qalam_merit-4.0.35 test/dummy/app/views/users/_form.html.erb
merit-4.0.1 test/dummy/app/views/users/_form.html.erb
merit-4.0.0 test/dummy/app/views/users/_form.html.erb
merit-3.0.3 test/dummy/app/views/users/_form.html.erb