Sha256: b5561b6b984fa1993c52a9136476acab5fea57b130bb010219cbb262b92f981e
Contents?: true
Size: 1.63 KB
Versions: 11
Compression:
Stored size: 1.63 KB
Contents
<%- set_title 'Publication Details' -%> <%= tabset do -%> <%= tab_tag(:id => 'details', :label => 'Publication Details', :state => 'active') %> <%= tab_tag(:id => 'pub_content', :label => 'Content') %> <%- end -%> <%= tab_body :id => 'details', :label => 'About This Publication', :display => 'block' do -%> <div class="form_column"> <%= faux_field 'Name', @publication.name %> <%= faux_field 'URL', @publication.humanize_path %> <%= faux_field 'Content Type', @publication.content_type %> </div> <div class="form_column"> <%= faux_field 'PDF Creation Enabled?', @publication.pdf_enabled? ? "Yes" : "No" %> <%= faux_field 'RSS Feed Enabled?', @publication.rss_feed_enabled? ? "Yes" : "No" %> <%= faux_field 'RSS Feed URL', @publication.rss_feed_url if @publication.rss_feed_enabled? %> <%= faux_field 'Description', @publication.description %> </div> <br style="clear: both;" /> <%- end -%> <%= tab_body :id => 'pub_content', :label => 'Publication Content', :display => 'none' do -%> <%= render 'admin/managed_contents/index' unless @publication.has_faqs? -%> <%= render 'admin/managed_contents/faq_index' if @publication.has_faqs? -%> <br style="clear: both;" /> <%- end -%> <div class="link_block attached"> <%= link_to 'Edit', edit_admin_publication_path(@publication), :class => 'link_button' -%> <%= link_to 'Back', admin_publications_path, :class => 'link_button' -%> <%= link_to 'Add Content', new_admin_publication_managed_content_path(@publication), :class => 'link_button' -%> <%= link_to 'Import FAQs', import_admin_publication_managed_contents_path(@publication), :class => 'link_button' -%> </div>
Version data entries
11 entries across 11 versions & 1 rubygems