%= form_for(@client, as: :client, url: auth_client_path(@client.resource_id.to_s)) do |f| %>
<% if @client.errors.any? %>
<%= pluralize(@client.errors.count, "error") %> prohibited this client from being saved:
<% @client.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
Redirect Urls
<% @client.redirect_urls.each do |i| %>
<%= i %>
<% end %>
Add Another Redirect Url
<%= f.text_field :add_redirect_url %>
<%= f.label :add_redirect_url %>
App Ids
<% @client.app_ids.each do |i| %>
<%= i %>
<% end %>
Add Another App Id
<%= f.text_field :add_app_id %>
<%= f.label :add_app_id %>
<%= f.submit %>
<% end %>