Sha256: ac576b96b55833b391ac24f58dc0c335cc59c901cf977acc31caae70d2519633

Contents?: true

Size: 268 Bytes

Versions: 6

Compression:

Stored size: 268 Bytes

Contents

<%% unless @<%= singular_name %>.nil? %>
<%%= error_messages_for '<%= singular_name %>' %>
<%% end -%>

<%% for name in [:notice, :warning, :error, :message] %>
  <%% if @flash[name] %>
    <%%= "<div class=\"#{name}\">#{@flash[name]}</div>" %>
  <%% end %>
<%% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ajax_scaffold_generator-2.0.0 templates/partial_form_errors.rhtml
ajax_scaffold_generator-2.1.0 templates/partial_form_errors.rhtml
ajax_scaffold_generator-2.2.0 templates/partial_form_errors.rhtml
ajax_scaffold_generator-2.2.1 templates/partial_form_errors.rhtml
ajax-scaffold-generator-2.0 templates/partial_form_errors.rhtml
ajax-scaffold-generator-2.1.0 templates/partial_form_errors.rhtml