Sha256: 7bc71fc311e1a6b4e758fbdeb9d976e58f394659bae96f2a0bf63486f62eb140

Contents?: true

Size: 939 Bytes

Versions: 8

Compression:

Stored size: 939 Bytes

Contents

<%= form_for(@client) 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

8 entries across 8 versions & 1 rubygems

Version Path
wordjelly-auth-1.0.4 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.0.3 app/views/auth/clients/_form.html.erb
wordjelly-auth-1.0.2 app/views/auth/clients/_form.html.erb
wordjelly-auth-0.0.8 app/views/auth/clients/_form.html.erb
wordjelly-auth-0.0.5 app/views/auth/clients/_form.html.erb
wordjelly-auth-0.0.4 app/views/auth/clients/_form.html.erb
wordjelly-auth-0.0.3 app/views/auth/clients/_form.html.erb
wordjelly-auth-0.0.1 app/views/auth/clients/_form.html.erb