Sha256: 5b86764c26c6681ec375b1b7174ee291bc91d38308217135ac15332e830f1e59

Contents?: true

Size: 498 Bytes

Versions: 35

Compression:

Stored size: 498 Bytes

Contents

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

      <ul>
      <% @star.errors.full_messages.each do |message| %>
        <li><%= message %></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

35 entries across 4 versions & 1 rubygems

Version Path
tabulous-2.1.2 spec/applications/bootstrap/rails_4-2-0/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/subtabs/rails_4-2-0/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/main/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/custom_renderer/rails_4-2-0/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/custom_renderer/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/bootstrap/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/main/rails_4-2-0/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/simple_tabs/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/simple_tabs/rails_4-2-0/app/views/stars/_form.html.erb
tabulous-2.1.2 spec/applications/subtabs/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.1 spec/applications/subtabs/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.1 spec/applications/simple_tabs/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.1 spec/applications/main/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.1 spec/applications/custom_renderer/rails_4-1-1/app/views/stars/_form.html.erb
tabulous-2.1.1 spec/applications/bootstrap/rails_4-1-1/app/views/stars/_form.html.erb