Sha256: a92c698be4b25a2b2edde057c61071c46b45737c4bc3968f11a79a8cb24caa6d
Contents?: true
Size: 410 Bytes
Versions: 14
Compression:
Stored size: 410 Bytes
Contents
<% if can? :create, document = Document.new(author: current_actor, owner: Actor.normalize(owner)) %> <%= link_to t('document.new.link'), new_document_path, class: "btn new_document-modal-link", 'data-toggle' => 'modal' %> <%= render partial: 'common_documents/new.modal', locals: { document: document } %> <%= javascript_tag do %> SocialStream.Document.new_(); <% end %> <% end %>
Version data entries
14 entries across 14 versions & 2 rubygems