Sha256: 031dcd5f7a46fad101fc73bf924139a36a9bf94c462cead962772734542876cf
Contents?: true
Size: 614 Bytes
Versions: 197
Compression:
Stored size: 614 Bytes
Contents
<% attributes ||= [] %> <% attributes.select! { |attribute| form.object.errors[attribute].any? } %> <% if form.object.errors[:base].any? || form.object.errors.present? || attributes.any? %> <%= render 'account/shared/alert', color: 'red' do %> <% if form.object.errors[:base].any? || attributes.any? %> <%= form.object.errors[:base].join(' ') %> <% attributes.each do |attribute| %> <%= resource.class.human_attribute_name(attribute) %> <%= resource.errors[attribute].to_sentence %>. <% end %> <% else %> Please correct the errors below. <% end %> <% end %> <% end %>
Version data entries
197 entries across 197 versions & 5 rubygems