Sha256: a6807b8559963f758d17d8d14130daa7cde4e74cddf558749197f57a60b4bec7
Contents?: true
Size: 1.62 KB
Versions: 6
Compression:
Stored size: 1.62 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.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.feed 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
6 entries across 6 versions & 1 rubygems