Sha256: 01e4c9270344ebeb51a22f8bd00c6f77a352bfccf2febe82a395056bb1db7e4d
Contents?: true
Size: 433 Bytes
Versions: 10
Compression:
Stored size: 433 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', 'data-dynamic' => true %> <%= render partial: 'common_documents/new.modal', locals: { document: document } %> <%= javascript_tag do %> SocialStream.Document.new_(); <% end %> <% end %>
Version data entries
10 entries across 10 versions & 2 rubygems