Sha256: 9968951579bed1bf0deebd4b0bfef4c6098e382e75c9b86e3102646409da51d9

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

<article class="new_app">
  <%= form_for(@client || Site::Client.new) do |f| %>

    <% if f.object.errors.any? %>
      <div id="error_explanation" class="alert alert-error">
        <h2><%= pluralize(f.object.errors.count, "error") %> prohibited this client site from being saved:</h2>

        <ul>
          <% f.object.errors.full_messages.each do |msg| %>
            <li><%= msg %></li>
          <% end %>
        </ul>

      </div>
    <% end %>
    <article id="new_application">
      <section class="name">
        <%= f.label :name %>
        <%= f.text_field :name %>
      </section>

      <section class="description">
        <%= f.label :description %>
        <%= f.text_area :description %>
      </section>

      <section class="url">
        <%= f.label :url %>
        <%= f.text_area :url %>
      </section>

      <section class="callback_url">
        <%= f.label :callback_url %>
        <%= f.text_area :callback_url %>
      </section>
      <%= f.submit :class => "btn pull-right" %>
    </article>  
  <% end %>
</article>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-2.0.3 oauth2_server/app/views/site/clients/_form.html.erb
social_stream-oauth2_server-2.0.2 app/views/site/clients/_form.html.erb
social_stream-2.0.2 oauth2_server/app/views/site/clients/_form.html.erb
social_stream-oauth2_server-2.0.1 app/views/site/clients/_form.html.erb