Sha256: 95599e44f305cb2fa63d8d2c2b399b33a514de275836f9fb281a3e36dd13a116
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
<% unless @tenants.empty? %> <%= form_for(:tenants, :url => {:action => :select_tenant}, :html => {:method => :post, :class => "form-horizontal"}) do |f| %> <fieldset> <div class="control-group"> <%= label_tag :tenant_name, "Available Tenants:", :class => "control-label" %> <div class="controls"> <%= select_tag :kb_tenant_id, options_for_select(@tenants.map { |t| [t.name, t.kb_tenant_id] }) %> </div> </div> <div class="form-actions"> <%= f.submit 'Chose Tenant', :class => 'btn btn-primary' %> <%= link_to 'Back', :back, :class => 'btn' %> </div> </fieldset> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kaui-0.11.0 | app/views/kaui/tenants/index.html.erb |
kaui-0.10.0 | app/views/kaui/tenants/index.html.erb |