Sha256: 0810ce4f05bcf7d2fb3288531e04d4e038ff2febba9fc410dbdac0fc34988123
Contents?: true
Size: 697 Bytes
Versions: 7
Compression:
Stored size: 697 Bytes
Contents
<%= render :partial=>"breadcrumb" %> <div class="page-header"> <h1><%=t '.title', :default => t('helpers.titles.new', :model => resource_class.model_name.human, :default => "New #{resource_class.model_name.human}") %></h1> </div> <% if resource.errors.any? %> <div id="error_explanation" class="alert"> <button type="button" class="close" data-dismiss="alert">×</button> <h3><%= "#{pluralize(resource.errors.count, "error")} prohibited this #{resource_class.model_name.human} from being saved:" %></h3> <ul> <% resource.errors.full_messages.each do |msg| %> <li> <%= msg %> </li> <% end %> </ul> </div> <% end %> <%= render :partial => 'form' %>
Version data entries
7 entries across 7 versions & 1 rubygems