Sha256: b1f0a63ab56860c5969ed5615c1c08df07ac3daf0a533855c65d1c73395f4af7

Contents?: true

Size: 1.03 KB

Versions: 14

Compression:

Stored size: 1.03 KB

Contents

<%= form_for([:oauth, application]) do |f| %>
  <fieldset>
    <% if application.errors.any? %>
      <div class="alert-message error" data-alert><a class="close" href="#">×</a><p>Whoops! Check your form for possible errors</p></div>
    <% end %>

    <div class="clearfix">
      <%= f.label :name %>
      <div class="input">
        <%= f.text_field :name %>
        <%= errors_for application, :name %>
      </div>
    </div>

    <div class="clearfix">
      <%= f.label :redirect_uri %>
      <div class="input">
        <%= f.text_field :redirect_uri %>
        <%= errors_for application, :redirect_uri %>
        <% if Doorkeeper.configuration.test_redirect_uri %>
          <span class="help-inline">Use <%= Doorkeeper.configuration.test_redirect_uri %> for local tests</span>
        <% end %>
      </div>
    </div>

    <div class="clearfix"></div>

    <div class="actions">
      <%= f.submit :Submit, :class => "btn primary" %>
      <%= link_to "Cancel", oauth_applications_path, :class => "btn" %>
    </div>
  </fieldset>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
doorkeeper-1.0.0.rc1 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.7.4 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.7.3 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.7.2 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.7.1 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.7.0 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.7 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.6 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.5 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.4 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.3 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.2 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.1 app/views/doorkeeper/applications/_form.html.erb
doorkeeper-0.6.0 app/views/doorkeeper/applications/_form.html.erb