Sha256: c16b3725c42bf55c7e72568098a6a485a6f08c701436b77e3b8d9df13e61425c

Contents?: true

Size: 906 Bytes

Versions: 12

Compression:

Stored size: 906 Bytes

Contents

<%= form_for @authorization, html: {class: "form-horizontal"} do |f| %>
  <fieldset>
    <div class="control-group">
      <%= f.label :name, class: "control-label" %>
      <div class="controls">
        <%= f.text_field :name, class: "text_field" %>
      </div>
    </div>
  </fieldset>

<hr />

  <fieldset>
    <div class="control-group">
      <%= f.label :provider_id, class: "control-label" %>
      <div class="controls">
        <%= f.collection_select :provider_id, Oauth::Provider.all, :id, :name %>
      </div>
    </div>

    <div class="control-group">
      <%= f.label :scope, class: "control-label" %>
      <div class="controls">
        <%= f.text_field :scope, class: "text_field" %>
      </div>
    </div>
  </fieldset>

  <div class="form-actions">
    <%= f.submit nil, class: "btn btn-primary" %>
    <%= link_to "Cancel", authorizations_path, class: "btn" %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/views/authorizations/_form.html.erb
houston-core-0.8.3 app/views/authorizations/_form.html.erb
houston-core-0.8.2 app/views/authorizations/_form.html.erb
houston-core-0.8.1 app/views/authorizations/_form.html.erb
houston-core-0.8.0 app/views/authorizations/_form.html.erb
houston-core-0.8.0.pre2 app/views/authorizations/_form.html.erb
houston-core-0.8.0.pre app/views/authorizations/_form.html.erb
houston-core-0.7.0 app/views/authorizations/_form.html.erb
houston-core-0.7.0.beta4 app/views/authorizations/_form.html.erb
houston-core-0.7.0.beta3 app/views/authorizations/_form.html.erb
houston-core-0.7.0.beta2 app/views/authorizations/_form.html.erb
houston-core-0.7.0.beta app/views/authorizations/_form.html.erb