Sha256: 700376f085b73432abc0f74180596bc3dafc2655578e09f0706824666c02606e

Contents?: true

Size: 1001 Bytes

Versions: 50

Compression:

Stored size: 1001 Bytes

Contents

<%= form_for(@client, as: :client, url: auth_client_path(@client.resource_id.to_s)) do |f| %>
  <% if @client.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@client.errors.count, "error") %> prohibited this client from being saved:</h2>

      <ul>
      <% @client.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <h4>Redirect Urls</h4>
  <% @client.redirect_urls.each do |i| %>
      <%= i %>
  <% end %>


  <h5>Add Another Redirect Url</h5>
  <!-- give option for one more redirect url to be added -->
  <div class="field">
    <%= f.text_field :add_redirect_url %>
    <%= f.label :add_redirect_url %>
  </div>

  <h4>App Ids</h4>
  <% @client.app_ids.each do |i| %>
      <%= i %>
  <% end %>  

  <h5>Add Another App Id</h5>
  <div class="field">
    <%= f.text_field :add_app_id %>
    <%= f.label :add_app_id %>
  </div>  
 
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.9 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.8 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.7 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.6 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.5 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.4 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.3 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.2 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.1 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.5.0 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.9 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.8 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.7 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.6 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.5 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.4 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.3 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.2 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.4.0 app/views/auth/clients/_form.html.erb