Sha256: 6065d0782055684cebffaa1562400113613f89ebe406c6edc6f5474e0714d563

Contents?: true

Size: 1.34 KB

Versions: 22

Compression:

Stored size: 1.34 KB

Contents

<%- set_title 'Navigation Link Details' -%>

<fieldset class="form_container">
  <%= legend_tag 'Navigation Link Details' -%>
  <div class="form_column">
    <%= faux_field 'Link Text', @nav_item.link_text %>
    <%= faux_field 'Link Title', @nav_item.link_title %>
    <%= faux_field 'Parent Navigation Link', @nav_item.parent.link_text if @nav_item.parent_id %>
  </div>
  <div class="form_column">
    <%= faux_field 'URL', @nav_item.decoded_url %>
    <%= faux_field 'Position', "#{@nav_item.kind} Navigation" %>
  </div>
  <br style="clear: both;" />
  <div class="link_block">
    <%= link_to 'Edit', edit_admin_site_nav_item_path(@site, @nav_item), :class => 'link_button' -%>
    <%= link_to 'Back', admin_site_nav_items_path(@site), :class => 'link_button' -%>
  </div>
</fieldset>

<br style="clear: both;" />

<fieldset class="form_container">
  <%= legend_tag 'Sub-Navigation' -%>
  <%- unless @nav_item.children.empty? -%>
    <%= render :partial => 'index', :locals => {:navitem_type => 'children', :nav_items => @nav_item.children} -%>
  <%- else -%>
    <p>No sub-navigation links have been created for this navigation item.</p>
  <%- end -%>
  <br style="clear: both;" />
  <div class="link_block">
    <%= link_to 'New Sub-Navigation Link', new_admin_site_nav_item_path(@site, :parent_id => @nav_item.id), :class => 'link_button' -%>
  </div>
</fieldset>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
site_logic-1.9.13 app/views/admin/nav_items/show.html.erb
site_logic-1.9.12 app/views/admin/nav_items/show.html.erb
site_logic-1.9.11 app/views/admin/nav_items/show.html.erb
site_logic-1.9.10 app/views/admin/nav_items/show.html.erb
site_logic-1.9.9 app/views/admin/nav_items/show.html.erb
site_logic-1.9.8 app/views/admin/nav_items/show.html.erb
site_logic-1.9.7 app/views/admin/nav_items/show.html.erb
site_logic-1.9.6 app/views/admin/nav_items/show.html.erb
site_logic-1.9.5 app/views/admin/nav_items/show.html.erb
site_logic-1.9.4 app/views/admin/nav_items/show.html.erb
site_logic-1.9.3 app/views/admin/nav_items/show.html.erb
site_logic-1.9.2 app/views/admin/nav_items/show.html.erb
site_logic-1.9.1 app/views/admin/nav_items/show.html.erb
site_logic-1.9.0 app/views/admin/nav_items/show.html.erb
site_logic-1.8.0 app/views/admin/nav_items/show.html.erb
site_logic-1.7.1 app/views/admin/nav_items/show.html.erb
site_logic-1.7.0 app/views/admin/nav_items/show.html.erb
site_logic-1.6.10 app/views/admin/nav_items/show.html.erb
site_logic-1.6.9 app/views/admin/nav_items/show.html.erb
site_logic-1.6.8 app/views/admin/nav_items/show.html.erb