Sha256: 0826dae82ed842f36bb47deaa80110dbc7e39033c4abdcaf9d5682057cc4fcc6

Contents?: true

Size: 814 Bytes

Versions: 23

Compression:

Stored size: 814 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'}" %>

<%= delete_button :title=>true %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.6 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.5 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.4 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.3 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.0.rc3 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.0.rc2 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.5.0.rc1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.2 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.3.4 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.2.rc1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.0 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.0.rc2 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.4.0.rc1 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.3.3 app/views/cms/blocks/_toolbar_for_collection.html.erb
browsercms-3.3.2 app/views/cms/blocks/_toolbar_for_collection.html.erb