Skip to content
This repository was archived by the owner on Nov 6, 2021. It is now read-only.

Commit 0de5098

Browse files
authored
Update export csv button in families & children to be indicative of what it will generate (#397)
1 parent 5748c18 commit 0de5098

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

app/views/children/_list.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
<th scope="col"><%= sortable "active", "Active" %></th>
88
<th scope="col">Guardian</th>
99
<th scope="col">Comments</th>
10-
<th scope="col"></th>
11-
<th scope="col"></th>
10+
<th scope="col" colspan="2">
11+
<%= link_to 'Export Results To CSV', children_path(nil, format: :csv), class: "btn btn-info pull-right" %>
12+
</th>
1213
</tr>
1314
</thead>
1415
<tbody>

app/views/children/index.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
class: 'btn btn-danger'
6666
) %>
6767
<span class="float-right">
68-
<%= link_to 'Export a CSV file', children_path(nil, format: :csv), class: "btn btn-info" %>
6968
</span>
7069
<% end %>
7170

app/views/families/_list.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<th scope="col"><%= sortable "guardian_first_name", "Guardian first name" %></th>
66
<th scope="col"><%= sortable "agency_guardian_id", "Agency guardian" %></th>
77
<th scope="col">Comments</th>
8-
<th scope="col"></th>
9-
<th scope="col"></th>
8+
<th scope="col" colspan="2">
9+
<%= link_to 'Export Results To CSV', families_path(nil, format: :csv), class: "btn btn-info pull-right" %>
10+
</th>
1011
</tr>
1112
</thead>
1213
<tbody>

app/views/families/index.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
class: 'btn btn-danger'
6262
) %>
6363
<span class="float-right">
64-
<%= link_to 'Export a CSV file', families_path(nil, format: :csv), class: "btn btn-primary" %>
6564
<%= link_to 'Add New Family', new_family_path, class: "btn btn-info" %>
6665
</span>
6766
<% end %>

0 commit comments

Comments
 (0)