Sha256: 314fd59eadb52cf3960f8afe1384c8a6d47ab0813f7524912080f8d296e8c4c4
Contents?: true
Size: 722 Bytes
Versions: 8
Compression:
Stored size: 722 Bytes
Contents
<%= form_for @item, :url => options[:options], :html => { :multipart => true } do |form| %> <% if @item.errors.any? %> <div id="errorExplanation"> <h3><%= pluralize(@item.errors.count, "error") %> prohibited this page from being saved:</h3> <ul> <% @item.errors.full_messages.each do |full_message| %> <li><%= full_message %></li> <% end %> </ul> </div> <% end %> <fieldset class="inputs"> <ol> <%= raw build_form(@fields, form) %> </ol> </fieldset> <fieldset class="buttons"> <ol> <li><%= submit_tag options[:button] , :class => "commit" %> or <%= link_to _t("Cancel and go back").downcase, :action => "index" %></li> </ol> </fieldset> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems