mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
12 lines
598 B
Text
12 lines
598 B
Text
<div class="atwho-button-container">
|
|
<button type="button" class="btn icon-btn btn-light atwho-insert-button"><%= I18n.t("atwho.buttons.insert") %></button>
|
|
<% if defined?(row) && !row[:row_assigned] && row[:my_module_id].present? %>
|
|
<button type="button"
|
|
class="btn icon-btn btn-light atwho-assign-button"
|
|
data-assign-url= <%= my_module_repositories_path(row[:my_module_id]) %>
|
|
data-repository-id=<%= repository[:id] %>
|
|
data-repository-row-id=<%= row[:id] %>>
|
|
<%= I18n.t("atwho.buttons.assign") %>
|
|
</button>
|
|
<%end%>
|
|
</div>
|