Sha256: 6e334acf41874b62fa2464d5052c84e4b4aed0979bd8f0152edba77151fef692

Contents?: true

Size: 528 Bytes

Versions: 8

Compression:

Stored size: 528 Bytes

Contents

<% if autosavable.autosave && !params[:autosave].present? %>
  <div id="autosaves" class="autosave_available" <% if autosavable.autosave.nil? %>style="display:none"<% end %>>
    <div id="autosaves-toggle" data-toggle="collapse" data-target="#autosaves-panel">
      <%= t('dashboard.posts.autosaves.available', resource: autosavable.human_name) %>
      <%= link_to t('dashboard.posts.autosaves.view_autosave'), storytime.edit_dashboard_post_path(autosavable, autosave: autosavable.autosave.id) %>
    </div>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-1.2.0 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.1.1 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.7 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.6 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.5 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.2 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.1 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb
storytime-1.0.0 app/views/storytime/dashboard/autosaves/_autosave_info.html.erb