<% content_for :title, "Credentials" -%>
Credentials are used to store values used by many Agents. Examples might include "twitter_consumer_secret", "user_full_name", or "user_birthday".
<% @user_credentials.each do |user_credential| %> <% end %>
<%= sortable_column 'credential_name', 'asc', name: 'Name' %> <%= sortable_column 'credential_value', 'asc', name: 'Value' %>
<%= user_credential.credential_name %> <%= truncate user_credential.credential_value %>
<%= link_to 'Edit', edit_user_credential_path(user_credential), class: "btn btn-default" %> <%= link_to 'Delete', user_credential_path(user_credential), method: :delete, data: {confirm: 'Are you sure?'}, class: "btn btn-default" %>
<%= paginate @user_credentials, :theme => 'twitter-bootstrap-3' %>
<%= link_to new_user_credential_path, class: "btn btn-default" do %> New Credential<% end %> <%= link_to user_credentials_path(format: :json), class: "btn btn-default" do %> Download Credentials<% end %> <%= link_to '#', data: { toggle: 'modal', target: '#credentials-upload' }, class: "btn btn-default credentials-upload-button" do %> Upload Credentials<% end %>