add copy URL button

This commit is contained in:
Bilal
2020-07-22 12:17:57 +02:00
parent 55ffa3be7f
commit 1b5729ce34
4 changed files with 30 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
<button type="button" class="btn btn-success mb-3" data-behavior="clipboard" href="<%= polymorphic_url [:new, @account, @project, @contract_template, @release, :amendment] %>">
<i class="fa fa-clipboard"></i>
<%= t '.copy_url' %>
</button>
<div class="card shadow-sm">
<div class="card-body">
<%= errors_summary_for @release %>