Sha256: 0619ca3cfcefffe0ba2bc41cf5c61c4e017a4f91de39ded80685e87f8c55a1e6

Contents?: true

Size: 498 Bytes

Versions: 17

Compression:

Stored size: 498 Bytes

Contents

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

      <ul>
      <% asset.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :image %>
    <%= f.text_field :image %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
binda-0.1.11 app/views/binda/assets/_form.html.erb
binda-0.1.10 app/views/binda/assets/_form.html.erb
binda-0.1.9 app/views/binda/assets/_form.html.erb
binda-0.1.8 app/views/binda/assets/_form.html.erb
binda-0.1.7 app/views/binda/assets/_form.html.erb
binda-0.1.6 app/views/binda/assets/_form.html.erb
binda-0.1.5 app/views/binda/assets/_form.html.erb
binda-0.1.4 app/views/binda/assets/_form.html.erb
binda-0.1.3 app/views/binda/assets/_form.html.erb
binda-0.1.2 app/views/binda/assets/_form.html.erb
binda-0.1.1 app/views/binda/assets/_form.html.erb
binda-0.1.0 app/views/binda/assets/_form.html.erb
binda-0.0.7 app/views/binda/assets/_form.html.erb
binda-0.0.6 app/views/binda/assets/_form.html.erb
binda-0.0.5 app/views/binda/assets/_form.html.erb
binda-0.0.3 app/views/binda/assets/_form.html.erb
binda-0.0.2 app/views/binda/assets/_form.html.erb