Sha256: 2c75630cca1155f169d0dfed3972adc2613fb5f8dbe0e60a5cc7ea3304e2ea3b

Contents?: true

Size: 865 Bytes

Versions: 10

Compression:

Stored size: 865 Bytes

Contents

%li.dropdown__item.dropdown__item--label.last-autosave
  Draft Versions

%li.dropdown__item
  = link_to new_item_version_path(item_type: class_for(obj), item_id: obj.id), data: { modal_remote: true, modal_handler: 'NewItemVersionHandler', modal_title: 'Save Draft', dropdown_dismiss: true }, class: 'dropdown__action action-icon' do
    = i('cloud_upload')
    %span Save Draft

%li.dropdown__item
  = link_to item_versions_path(item_type: obj.class.to_s, item_id: obj.id), data: { modal_remote: true, modal_handler: 'ItemVersionIndexHandler', modal_title: 'Load Draft', dropdown_dismiss: true }, class: 'dropdown__action action-icon' do
    = i('cloud_download')
    %span Load Draft

- if params[:version]
  %li.dropdown__item
    = link_to item_version_active_path(obj), class: 'dropdown__action action-icon' do
      = i('star')
      %span Load Active Version

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.8 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.7 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.6 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.5 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.4 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.3 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.2 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.1 app/views/tenon/shared/_draft_controls.html.haml
tenon-2.0.0 app/views/tenon/shared/_draft_controls.html.haml