Sha256: 17df95c6c39f61256ef5fc91d29c7b9361d3aa8adf58ac52a60b3118326801ca

Contents?: true

Size: 568 Bytes

Versions: 36

Compression:

Stored size: 568 Bytes

Contents

New Album

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

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

  <%= f.label :title, "Album Title" %>
  <%= f.text_field :title %>

  <%= f.fields_for :songs do |song| %>
    <div>
      <%= song.label :title %>
      <%= song.text_field :title %>
    </div>
  <% end %>

  <%= f.submit %>
<% end %>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
reform-2.1.0 test/dummy/app/views/albums/new.html.erb
reform-2.1.0.rc1 test/dummy/app/views/albums/new.html.erb
reform-2.0.5 test/dummy/app/views/albums/new.html.erb
reform-2.0.4 test/dummy/app/views/albums/new.html.erb
reform-2.0.3 test/dummy/app/views/albums/new.html.erb
reform-2.0.2 test/dummy/app/views/albums/new.html.erb
reform-2.0.1 test/dummy/app/views/albums/new.html.erb
reform-2.0.0 test/dummy/app/views/albums/new.html.erb
reform-2.0.0.rc3 test/dummy/app/views/albums/new.html.erb
reform-2.0.0.rc2 test/dummy/app/views/albums/new.html.erb
reform-2.0.0.rc1 test/dummy/app/views/albums/new.html.erb
reform-2.0.0.beta2 test/dummy/app/views/albums/new.html.erb
reform-2.0.0.beta1 test/dummy/app/views/albums/new.html.erb
reform-1.2.6 test/dummy/app/views/albums/new.html.erb
reform-1.2.5 test/dummy/app/views/albums/new.html.erb
reform-1.2.4 test/dummy/app/views/albums/new.html.erb
reform-1.2.3 test/dummy/app/views/albums/new.html.erb
reform-1.2.2 test/dummy/app/views/albums/new.html.erb
reform-1.2.1 test/dummy/app/views/albums/new.html.erb
reform-1.2.0.beta2 test/dummy/app/views/albums/new.html.erb