Sha256: fbd9082d89bf6be51f136d501f5db3040f445cfa6afa4297146c8ccaca4d5dac
Contents?: true
Size: 1020 Bytes
Versions: 17
Compression:
Stored size: 1020 Bytes
Contents
<% if @managed_content.errors.any? %> <div id="error_explanation"> <h2>Please correct the following errors::</h2> <% @managed_content.errors.to_a.in_groups(2, false).each do |group| %> <ul> <% group.each do |msg| %> <li><%= msg %></li> <% end %> </ul> <% end %> <br style="clear: both;" /> </div> <br style="clear: both;" /> <% end %> <%= render :partial => 'article_fields', :locals => {:f => f} if @publication.has_articles? -%> <%= render :partial => 'faq_fields', :locals => {:f => f} if @publication.has_faqs? -%> <%= render :partial => 'term_fields', :locals => {:f => f} if @publication.has_terms? -%> <%= render :partial => 'document_fields', :locals => {:f => f} if @publication.has_documents? -%> <div class="link_block attached"> <%= f.submit 'Save', :class => 'link_button' -%> <%= link_to 'Cancel', admin_publication_path(@publication), :class => 'link_button' -%> </div> <br style="clear: both;" /><br />
Version data entries
17 entries across 17 versions & 1 rubygems