Sha256: 918f0244148d1263de75b688d63473f1715704a4f7d7b4efd59fc57e83b289fa

Contents?: true

Size: 813 Bytes

Versions: 6

Compression:

Stored size: 813 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 :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :private_info %><br />
    <%= f.text_area :private_info %>
  </div>
  <div class="field">
    <%= f.label :public_info %><br />
    <%= f.text_area :public_info %>
  </div>
  <div class="field">
    <%= f.label :configuration %><br />
    <%= f.text_area :configuration %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
extend_at-0.2.4 spec/app/app/views/users/_form.html.erb
extend_at-0.2.3 spec/app/app/views/users/_form.html.erb
extend_at-0.2.2 spec/app/app/views/users/_form.html.erb
extend_at-0.2.1 spec/app/app/views/users/_form.html.erb
extend_at-0.2.0 spec/app/app/views/users/_form.html.erb
extend_at-0.1.5 spec/app/app/views/users/_form.html.erb