otwarchive-symphonyarchive/app/views/bookmarks/edit.html.erb
2026-03-11 22:22:11 +00:00

22 lines
725 B
Text

<!--Descriptive page name, messages and instructions-->
<h2 class="heading">
<% if @bookmarkable %>
<%= (ts("Editing bookmark for ") + link_to(@bookmarkable.title, @bookmarkable)).html_safe %>
<% else %>
<%= ts("Editing bookmark") %>
<% end %>
</h2>
<%= error_messages_for :bookmark %>
<!--/descriptions-->
<!--subnav-->
<ul class="navigation actions" role="navigation">
<li><%= link_to ts("Show"), bookmark_path(@bookmark) %></li>
<li><%= link_to ts("My Bookmarks"), user_bookmarks_path(current_user) %></li>
</ul>
<!--/subnav-->
<!--main content-->
<%= render 'bookmark_form', :button_name => ts('Update'), :action => 'update', :bookmark => @bookmark, :bookmarkable => @bookmarkable %>
<!--/content-->