app/views/geri/admin/editor/template.html.erb in geri-0.1.1 vs app/views/geri/admin/editor/template.html.erb in geri-0.1.3
- old
+ new
@@ -7,9 +7,11 @@
<b>Geri</b>CMS:<b>EDITOR</b>
<% end %>
<ul class="nav navbar-nav navbar-right">
<li><a id="geri-editor-save" class="btn btn-success disabled navbar-btn editor-link" href="">Save Changes</a></li>
<li><a id="geri-editor-revert" class="btn btn-danger disabled navbar-btn editor-link" href="">Revert</a></li>
+ <li><%= link_to 'Admin', '/admin', class: 'btn btn-warning navbar-btn editor-link', data: {
+ confirm: 'All unsaved progress will be lost. Are you sure?' } %></li>
</ul>
</div>
</nav>
</header>
</div>