Sha256: e24f904b3dd64b4b55a16cee4e8734af0a631c3ad0f7f7187424db26b3b922fb

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 Bytes

Contents

<% @link_title = @page_title = "Add New Link to Sitemap" %>
<%= content_for :functions do %>
<%= "<h1>#{ @page_title }</h1>" %> 
<%= link_to(span_tag("list all"), cms.sitemap_path, :class => "button") %>
<br clear="all"/>
<% end %>
<%= form_for(@link) do |f| %>
  <%= hidden_field_tag :section_id, @link.section_id %>
  <%= render :partial => 'form', :locals => {:f => f} %>
  <div class="buttons">
    <%= lt_button_wrapper(%Q{<button type="submit" name="cms_link[publish_on_save]" value="true" class="submit" tabindex="#{next_tabindex}"><span>Save And Publish</span></button>}) %>
    <%= lt_button_wrapper(f.submit("Save", :class => "submit", :tabindex => next_tabindex )) %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
browsercms-3.4.0.rc2 app/views/cms/links/new.html.erb
browsercms-3.4.0.rc1 app/views/cms/links/new.html.erb