mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
open documents in a new tab when editing
This commit is contained in:
parent
e3e1de4f6d
commit
a1e03fa36c
@ -24,7 +24,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="card-action nice-icon-links">
|
||||
<%= link_to edit_document_path(document), class: 'green-text right' do %>
|
||||
<%= link_to edit_document_path(document), class: 'green-text right', target: '_new' do %>
|
||||
<i class="material-icons"><%= Document.icon %></i> Edit
|
||||
<% end %>
|
||||
<%= link_to document_path(document), class: 'blue-text text-lighten-1' do %>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<div class="col l2 m4 smart-sidebar">
|
||||
<%= render partial: 'documents/components/smart_sidebar', locals: { document: @document } %>
|
||||
|
||||
<%= link_to edit_document_path(@document) do %>
|
||||
<%= link_to edit_document_path(@document), target: '_new' do %>
|
||||
<div class="card <%= Document.color %>">
|
||||
<div class="card-content">
|
||||
<span class="card-title white-text">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user