Sha256: 797c1e3d0c93b2b2ab574c4f6e5b60ca7086c7aac51501f28cb1be7b5cfadb9f

Contents?: true

Size: 533 Bytes

Versions: 7

Compression:

Stored size: 533 Bytes

Contents

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

      <ul>
      <% @language.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

7 entries across 7 versions & 1 rubygems

Version Path
dynamic_controller-0.0.8 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.7 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.6 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.5 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.4 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.3 spec/dummy/app/views/languages/_form.html.erb
dynamic_controller-0.0.2 spec/dummy/app/views/languages/_form.html.erb