Sha256: dc2e9f50b2b88d8face8435a56236038f684e8c54c6bdfb9c02cb14d7c4b4c12

Contents?: true

Size: 1.09 KB

Versions: 12

Compression:

Stored size: 1.09 KB

Contents

<section class="section">
  <div class="row sameheight-container">
    <%= form.hidden_field :id %>
    <div class='col-xs-12 col-sm-8 col-md-6'>
      <div class="card card-block sameheight-item">
        <div class="form-group">
          <%= form.label :name, class: 'control-label' %>
          <%= form.text_field :name, class: 'form-control' %>
        </div>
        <div class="form-group">
          <%= form.label :owner, class: 'control-label' %>
          <%= form.select2 :owner_id, [[form.object.owner&.full_name, form.object.owner&.id]], {
              prompt: 'Choose group owner...',
              filter_param: 'filter_name',
              data_url: admin_people_path,
              display_property: :full_name,
              value_property: :id
            }, class: 'form-control' %>
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-xs-12">
      <%= form.button(type: 'submit', data: { 'disable-with': 'Saving...' }, class: 'btn btn-primary btn-lg') do %>
        <%= glyphicon('floppy-save') %>
        Save
      <% end %>
    </div>
  </div>
</section>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kadmin-0.6.8 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.7 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.6 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.5 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.4 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.3 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.6.1 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.5.7 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.5.6 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.4.2 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.4.1 test/dummy/app/views/admin/groups/_form.html.erb
kadmin-0.4.0 test/dummy/app/views/admin/groups/_form.html.erb