Sha256: 9031d3ba6aa9e4d3b8907748dd74cafdbca28d3259e3077d7dd727ccb2c537f4

Contents?: true

Size: 1018 Bytes

Versions: 32

Compression:

Stored size: 1018 Bytes

Contents

<% able_to? :publish_content do -%>
  <%= link_to span_tag('Publish'), "#", 
    :class => "http_put button disabled left", 
    :id => "publish_button" %>
<% end -%>

<%= link_to span_tag("View Content"), "#", 
  :id => "view_button", 
  :class => "button disabled#{ ' off' if action_name == 'show'} middle" %>
  
<%= link_to span_tag("Edit Content"), "#", 
  :id => "edit_button", 
  :class => "button disabled#{ ' off' if action_name == 'edit'} right" %>

<%= link_to span_tag("add new content"), cms_new_path_for(content_type), 
  :id => "add_button", 
  :class => "spacer button#{ ' off' if action_name == 'new'}" %>
  
<%= link_to span_tag("List Versions"), "#", 
  :id => "revisions_button", 
  :class => "button #{ action_name == 'revisions' ? ' off' : ' disabled'}" %>
  
<%= link_to span_tag("<span class=\"delete_img\">&nbsp;</span>Delete"), "#", 
  :id => "delete_button", 
  :class => "spacer button disabled http_delete confirm_with_title", 
  :title => "Are you sure you want to delete this record?" %>

Version data entries

32 entries across 32 versions & 10 rubygems

Version Path
SFEley-browsercms-3.0.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
buzzware-browsercms-3.0.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
coredumplings-browsercms-3.0.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
nate-browsercms-3.0.210 app/views/cms/blocks/_toolbar_for_collection.html.erb
nate-browsercms-3.0.211 app/views/cms/blocks/_toolbar_for_collection.html.erb
we5-browsercms-3.0.1.1 app/views/cms/blocks/_toolbar_for_collection.html.erb
webficient-browsercms-3.0.1 app/views/cms/blocks/_toolbar_for_collection.html.erb
webficient-browsercms-3.0.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
webficient-browsercms-3.0.3 app/views/cms/blocks/_toolbar_for_collection.html.erb
webficient-browsercms-3.0.4 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.5 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.4 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.3 app/views/cms/blocks/_toolbar_for_collection.html.erb
bf4-browsercms-3.1.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
drujensen-browsercms-3.2.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.1.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
we5-browsercms-3.1.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.0.6 app/views/cms/blocks/_toolbar_for_collection.html.erb