<%= table_for(ConfigurationSetting.current_job_settings) %>
<%= table_for(ConfigurationSetting.current_client_settings) %>
<%= table_for(ConfigurationSetting.current_pool_settings) %>
<%= link_to 'Change Config',
@settings.persisted? ? edit_admin_setting_path(@settings) : new_admin_setting_path,
class: 'btn btn-primary', role: 'button'
%>
<% if @settings.persisted? %>
<%= link_to 'Restore to defaults', reset_admin_setting_path(@settings), method: :delete,
data: { confirm: 'This will reset the configuration to the defaults' },
class: 'btn btn-danger', role: 'button'
%>
<% end %>