Sha256: 3af2c41827859ae9110b14603d0aba53b3077dd64056b248bcd56ce79a6f9da0

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

<%# Partial for form errors on model %>

<% if model.errors.any? %>
	<div class="alert alert-error error_explanation">
		<button type="button" class="close" data-dismiss="alert">×</button>
   	<h2>
			<%= t('errors.template.header', model: model.class.model_name.human, count: model.errors.count) %>
		</h2>
		<!-- 
    <ol>
    	<% model.errors.full_messages.each do |message| %>
	      <li><%= message %></li>
	    <% end %>
    </ol>
		-->
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 app/views/invoice_bar/forms/_errors.html.erb
invoice_bar-0.0.5 app/views/invoice_bar/forms/_errors.html.erb
invoice_bar-0.0.4 app/views/invoice_bar/forms/_errors.html.erb
invoice_bar-0.0.3 app/views/invoice_bar/forms/_errors.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/forms/_errors.html.erb
invoice_bar-0.0.1 app/views/invoice_bar/forms/_errors.html.erb