app/views/admin/amr_data_feed_configs/show.html.erb
<h1><%= @configuration.description %> - data feed config</h1>
<p><%= link_to 'Back to AMR Data Feed Configurations', admin_amr_data_feed_configs_path %></p>
<p><%= link_to 'Upload file', new_admin_amr_data_feed_config_amr_uploaded_reading_path(@configuration), class: 'btn btn-sm' %></p>
<table class="table table-striped">
<tbody>
<% @configuration.attributes.except("id", "created_at", "updated_at").sort.each do |key, value| %>
<tr>
<td><%= key.humanize.capitalize %></td>
<td><%= value %></td>
</tr>
<% end %>
<tr>
<td>Notes</td>
<td><%= @configuration.notes %></td>
</tr>
<tr>
<td>Created</td>
<td><%= nice_dates(@configuration.created_at) %></td>
</tr>
<tr>
<td>Updated</td>
<td><%= nice_dates(@configuration.updated_at) %></td>
</tr>
</tbody>
</table>