scinote-web/app/views/assets/marvinjs/_create_marvin_sketch_button.html.erb

12 lines
379 B
Text
Raw Normal View History

2019-04-27 02:33:20 +08:00
<span
class="btn btn-default new-marvinjs-upload-button"
data-object-id="<%= element_id %>"
data-object-type="<%= element_type %>"
2019-04-27 04:59:38 +08:00
data-marvin-url="<%= marvin_js_assets_path %>"
2019-04-28 01:08:40 +08:00
data-sketch-container="<%= sketch_container %>"
2019-04-27 02:33:20 +08:00
>
<span class="new-marvinjs-upload-icon">
<%= image_tag 'icon_small/marvinjs.svg' %>
</span>
2019-04-27 19:51:35 +08:00
<%= t('marvinjs.new_button') %>
2019-04-27 00:24:21 +08:00
</span>