Sha256: 874e66acf07526785a9b7ba2ba1069c77a59cc16e8649a3d277638e93903d0a4

Contents?: true

Size: 594 Bytes

Versions: 9

Compression:

Stored size: 594 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 :image_url %><br />
    <%= f.text_field :image_url %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
streamit-0.0.8 test/dummy/app/views/users/_form.html.erb
streamit-0.0.7 test/dummy/app/views/users/_form.html.erb
streamit-0.0.6.2 test/dummy/app/views/users/_form.html.erb
streamit-0.0.6.1 test/dummy/app/views/users/_form.html.erb
streamit-0.0.6 test/dummy/app/views/users/_form.html.erb
streamit-0.0.5 test/dummy/app/views/users/_form.html.erb
streamit-0.0.4 test/dummy/app/views/users/_form.html.erb
streamit-0.0.3 test/dummy/app/views/users/_form.html.erb
streamit-0.0.1 test/dummy/app/views/users/_form.html.erb