Sha256: a469dea768b0ca9243d7b02db4f7b2a688830dc5805418616738357c1c2680df

Contents?: true

Size: 589 Bytes

Versions: 29

Compression:

Stored size: 589 Bytes

Contents

<%= form_for :tenants, :url => {:action => :select_tenant}, :html => {:class => 'form-horizontal'} do |f| %>
    <div class="form-group">
      <%= label_tag :tenant_name, 'Tenant', :class => 'col-sm-2 control-label' %>
      <div class="col-sm-10">
        <%= select_tag :kb_tenant_id, options_for_select(@tenants.map { |t| [t.name || t.api_key, t.kb_tenant_id] }), :class => 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <%= f.submit 'Save', :class => 'btn btn-default' %>
      </div>
    </div>
<% end %>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
kaui-3.0.4 app/views/kaui/tenants/_form.html.erb
kaui-3.0.2 app/views/kaui/tenants/_form.html.erb
kaui-2.2.1 app/views/kaui/tenants/_form.html.erb
kaui-3.0.1 app/views/kaui/tenants/_form.html.erb
kaui-2.1.0 app/views/kaui/tenants/_form.html.erb
kaui-2.0.4 app/views/kaui/tenants/_form.html.erb
kaui-2.0.3 app/views/kaui/tenants/_form.html.erb
kaui-2.0.2 app/views/kaui/tenants/_form.html.erb
kaui-2.0.1 app/views/kaui/tenants/_form.html.erb
kaui-2.0.0 app/views/kaui/tenants/_form.html.erb
kaui-1.4.1 app/views/kaui/tenants/_form.html.erb
kaui-1.4.0 app/views/kaui/tenants/_form.html.erb
kaui-1.3.0 app/views/kaui/tenants/_form.html.erb
kaui-1.2.0 app/views/kaui/tenants/_form.html.erb
kaui-1.1.0 app/views/kaui/tenants/_form.html.erb
kaui-1.0.0 app/views/kaui/tenants/_form.html.erb
kaui-0.16.2 app/views/kaui/tenants/_form.html.erb
kaui-0.16.1 app/views/kaui/tenants/_form.html.erb
kaui-0.16.0 app/views/kaui/tenants/_form.html.erb
kaui-0.15.5 app/views/kaui/tenants/_form.html.erb