selection_param: 'uuid',
success: 'redirect-to-created-object'
}.to_json),
- { class: "btn btn-sm btn-primary", remote: true, method: 'get', title: "Copy this #{object_class} to a different project" }) do %>
- { class: "btn btn-sm btn-primary", remote: true, method: 'get' }) do %>
++ { class: "btn btn-sm btn-primary", remote: true, method: 'get',
++ title: "Make a copy this #{object_class}" }) do %>
<i class="fa fa-fw fa-copy"></i> Copy to project...
<% end %>
<% end %>
selection_param: 'uuid',
success: 'redirect-to-created-object'
}.to_json),
- { class: "btn btn-sm btn-primary", remote: true, method: 'get', title: "Move this #{object_class} to a different project"}) do %>
- <i class="fa fa-fw fa-truck"></i> Move...
- { class: "btn btn-sm btn-primary", remote: true, method: 'get' }) do %>
- <i class="fa fa-fw fa-truck"></i> Move to project...
++ { class: "btn btn-sm btn-primary", remote: true, method: 'get',
++ title: "Move this #{object_class} to a different project"}) do %>
++ <i class="fa fa-fw fa-truck"></i> Move <%=object_class%>...
<% end %>
<% end %>
<% end %>