Sha256: 2766a58e4ab762052696d4bb15ebeb6c72dc4a333cdb14a93f9647b33c302204
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 KB
Contents
<% if can? :create, Kaui::AdminTenant %> <%= form_for @tenant, url: admin_tenants_path, :html => {:class => 'form-horizontal'} do |f| %> <fieldset> <div class="control-group"> <%= f.label :name, 'Name', :class => 'control-label' %> <div class="controls"> <%= f.text_field :name, :class => 'input-small', :required => true %> </div> </div> <div class="control-group"> <%= f.label :api_key, 'API Key', :class => 'control-label' %> <div class="controls"> <%= f.text_field :api_key, :class => 'input-small', :required => true %> </div> </div> <div class="control-group"> <%= f.label :api_secret, 'API Secret', :class => 'control-label' %> <div class="controls"> <%= f.password_field :api_secret, :class => 'input-small', :required => true %> </div> </div> <div class="control-group"> <%= f.label :create_tenant, 'Create tenant', :class => 'control-label' %> <div class="controls"> <%= check_box_tag(:create_tenant) %> </div> </div> <div class="form-actions"> <%= button_tag 'Configure a new Tenant', :class => 'btn btn-primary' %> </div> </fieldset> <% end %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems