mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							41 lines
						
					
					
						
							995 B
						
					
					
				
			
		
		
	
	
							41 lines
						
					
					
						
							995 B
						
					
					
				Submissions
 | 
						|
Flow <%= @flow.name %>
 | 
						|
Copy share link:
 | 
						|
<input autocomplete="off" type="text" class="w-full" value="<%= start_flow_url(slug: @flow.slug) %>" disabled>
 | 
						|
<a href="<%= new_flow_submission_path(@flow) %>" class="bg-green-600" data-turbo-frame="modal">Add Recepients</a>
 | 
						|
<table>
 | 
						|
  <tr>
 | 
						|
    <th>
 | 
						|
      Email
 | 
						|
    </th>
 | 
						|
    <th>
 | 
						|
      Status
 | 
						|
    </th>
 | 
						|
    <th>
 | 
						|
    </th>
 | 
						|
  </tr>
 | 
						|
  <% @submissions.each do |submission| %>
 | 
						|
    <tr>
 | 
						|
      <td>
 | 
						|
        <%= submission.email %>
 | 
						|
      </td>
 | 
						|
      <td>
 | 
						|
        <% if submission.completed_at? %>
 | 
						|
          Completed
 | 
						|
        <% elsif submission.opened_at? %>
 | 
						|
          Opened
 | 
						|
        <% elsif submission.sent_at? %>
 | 
						|
          Sent
 | 
						|
        <% else %>
 | 
						|
          Awaiting
 | 
						|
        <% end %>
 | 
						|
      </td>
 | 
						|
      <td>
 | 
						|
        copy link<br>
 | 
						|
        <%= link_to 'View', submission_path(@flow) %>
 | 
						|
        <%= button_to 'Remove', submission_path(submission), method: :delete, data: { turbo_confirm: 'Are you sure?' } %>
 | 
						|
      </td>
 | 
						|
    </tr>
 | 
						|
  <% end %>
 | 
						|
</table>
 |