Sha256: 4012b43c085e511f4fb349b7f849e90393700e28f4ade260f0a03bbf2c0d1fcc

Contents?: true

Size: 701 Bytes

Versions: 7

Compression:

Stored size: 701 Bytes

Contents

<%= render :partial=>"breadcrumb" %>
<div class="page-header">
  <h1><%=t '.title', :default => t('helpers.titles.edit', :model => resource_class.model_name.human,
                                   :default => "Edit #{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

Version Path
unknown_admin-0.1.5 app/views/admin/resources/edit.html.erb
unknown_admin-0.1.4 app/views/admin/resources/edit.html.erb
unknown_admin-0.1.3 app/views/admin/resources/edit.html.erb
unknown_admin-0.1.2 app/views/admin/resources/edit.html.erb
unknown_admin-0.1.1 app/views/admin/resources/edit.html.erb
unknown_admin-0.1.0 app/views/admin/resources/edit.html.erb
unknown_admin-0.0.1 app/views/admin/resources/edit.html.erb