Sha256: 127951a564aefaf1b7a0d7cc23dae2bf8dec64150155ac0a5b32885d4b4b86c2

Contents?: true

Size: 913 Bytes

Versions: 2

Compression:

Stored size: 913 Bytes

Contents

<% if can? :create, Kaui::AdminTenant %>
    <%= form_for @allowed_user, url: admin_allowed_users_path, :html => {:class => 'form-horizontal'} do |f| %>
        <fieldset>
          <div class="control-group">
            <%= f.label :kb_username, 'Name', :class => 'control-label' %>
            <div class="controls">
              <%= f.text_field :kb_username, :class => 'input-sm', :required => true %>
            </div>
          </div>
          <div class="control-group">
            <%= f.label :description, 'Description', :class => 'control-label' %>
            <div class="controls">
              <%= f.text_field :description, :class => 'input-sm', :required => false %>
            </div>
          </div>
          <div class="form-actions">
            <%= button_tag 'Configure a new Allowed User', :class => 'btn btn-primary' %>
          </div>
        </fieldset>
    <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kaui-0.11.0 app/views/kaui/admin_allowed_users/new.html.erb
kaui-0.10.0 app/views/kaui/admin_allowed_users/new.html.erb