refactors signatures

This commit is contained in:
rgarcia
2016-12-21 18:46:31 +01:00
parent b10dbd7cb5
commit 675081141c
13 changed files with 148 additions and 24 deletions

View File

@@ -11,7 +11,7 @@
<th><%= t("admin.signature_sheets.created_at") %></th>
</tr>
<% @signature_sheets.each do |signature_sheet| %>
<tr id="<%= dom_id(signature_sheet) %>">
<tr id="<%= dom_id(signature_sheet) %>" class="signature_sheet">
<td>
<%= link_to signature_sheet.name, [:admin, signature_sheet] %>
</td>

View File

@@ -14,14 +14,14 @@
</div>
<% if @signature_sheet.signatures.unverified.any? %>
<div class="callout success">
<div id="verified_signatures" class="callout success">
<strong>
<%= t("admin.signature_sheets.show.verified",
count: @signature_sheet.signatures.verified.count ) %>
</strong>
</div>
<div class="callout alert">
<div id="unverified_signatures" class="callout alert">
<p>
<strong>
<%= t("admin.signature_sheets.show.unverified",