scinote-web/app/views/gene_sequence_assets/edit.html.erb
2023-08-02 15:46:07 +02:00

25 lines
815 B
Text

<html>
<head>
<%= javascript_include_tag 'i18n_bundle' %>
<%= stylesheet_link_tag 'sn_icon_font' %>
<%= stylesheet_link_tag 'tailwind' %>
<%= stylesheet_link_tag 'open_vector_editor' %>
<style>
body {
margin: 0;
}
</style>
</head>
<body>
<div id="open-vector-editor" data-behaviour="vue">
<open-vector-editor
file-url="<%= @file_url %>"
file-name="<%= @file_name %>"
update-url="<%= @asset ? gene_sequence_asset_url(@asset) : gene_sequence_assets_url(parent_type: params[:parent_type], parent_id: params[:parent_id]) %>"
:read-only="<%= !can_manage_asset? %>"
/>
</div>
<%= javascript_include_tag 'open_vector_editor' %>
<%= javascript_include_tag 'vue_components_open_vector_editor' %>
</body>
</html>