Sha256: a7367b40905573fa5db3836b152acda7c89a1ef513b452bb4c37b47bee167389

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 Bytes

Contents

.restore-auto-save
  %h4
    Unsaved changes
  %p
    It looks like previous edits you made to this page have not yet been saved. 
    %br
    To restore your changes to this page and continue editing, click Restore.

  %p.controls
    = link_to("Restore", admin_retreive_changes_path(object.class.name, object.id), :class => "btn retreive_changes", "data-param-name" => Gluttonberg::AutoSave.param_name_for(object.class.name))
    or
    = link_to("Cancel", admin_remove_autosaved_version_path(object.class.name, object.id), :class => "btn cancel_changes")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/shared/_auto_save_version.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/shared/_auto_save_version.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/shared/_auto_save_version.html.haml