* retrieve paths from rails helper * move assets to vendor folder, precompile in assets config * drop coverage on lines * remove unneeded line
14 lines
709 B
Text
14 lines
709 B
Text
<% title "New Post" %>
|
|
<%= content_for :page_meta do %>
|
|
<link rel="canonical" href="<%= app_url("/new") %>" />
|
|
<% end %>
|
|
|
|
<% if user_signed_in? %>
|
|
<%= render "shared/webcomponents_loader_script" %>
|
|
<%= render "articles/v2_form", article: @article, organizations: @organizations, version: @version %>
|
|
<%= javascript_packs_with_chunks_tag "clipboardCopy", "articleForm", defer: true %>
|
|
<div id="markdown-lint-js-path" class="hidden" data-markdown-it-js-path="<%= asset_path("markdown-it.min.js") %>" data-markdown-lint-js-path="<%= asset_path("markdownlint-browser.min.js") %>">
|
|
<% else %>
|
|
<% @new_article_not_logged_in = true %>
|
|
<%= render "devise/registrations/registration_form" %>
|
|
<% end %>
|