Sha256: 027ccc475df5f1a6039e5b08af0006bb4ec7ffbca27b8fa9886e05bdff3cb5f5

Contents?: true

Size: 988 Bytes

Versions: 48

Compression:

Stored size: 988 Bytes

Contents

<%= error_summary(@access_group) %>
<div class="col-md-4 col-md-offset-4">
  <div class="panel panel-primary">
    <div class="panel-heading">
      <h4 class="panel-title"><%= @access_group.new_record? ? 'Create' : 'Update' %> Access Group</h4>
    </div>
    <div class="panel-body">
      <%= form_for(@access_group) do |f| %>
          <%= f.text_form_group :name %>
          <%= f.select_form_group :user_ids, Incline::User.where.not(id: current_user.id).sorted, :id, :to_s, label_text: 'Users belonging to this group', field_class: 'form-control select2', field_multiple: true %>
          <%= f.select_form_group :group_ids, Incline::AccessGroup.where.not(id: @access_group.id).sorted, :id, :to_s, label_text: 'Groups belonging to this group', field_class: 'form-control select2', field_multiple: true %>

          <%= f.submit class: 'btn btn-primary' %>
          <%= link_to 'Cancel', access_groups_url, class: 'btn btn-default' %>
      <% end %>

    </div>
  </div>
</div>

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
incline-0.3.14 app/views/incline/access_groups/_form.html.erb
incline-0.3.13 app/views/incline/access_groups/_form.html.erb
incline-0.3.12 app/views/incline/access_groups/_form.html.erb
incline-0.3.11 app/views/incline/access_groups/_form.html.erb
incline-0.3.10 app/views/incline/access_groups/_form.html.erb
incline-0.3.9 app/views/incline/access_groups/_form.html.erb
incline-0.3.8 app/views/incline/access_groups/_form.html.erb
incline-0.3.7 app/views/incline/access_groups/_form.html.erb
incline-0.3.6 app/views/incline/access_groups/_form.html.erb
incline-0.3.5 app/views/incline/access_groups/_form.html.erb
incline-0.3.4 app/views/incline/access_groups/_form.html.erb
incline-0.3.3 app/views/incline/access_groups/_form.html.erb
incline-0.3.2 app/views/incline/access_groups/_form.html.erb
incline-0.3.1 app/views/incline/access_groups/_form.html.erb
incline-0.3.0 app/views/incline/access_groups/_form.html.erb
incline-0.2.36 app/views/incline/access_groups/_form.html.erb
incline-0.2.35 app/views/incline/access_groups/_form.html.erb
incline-0.2.34 app/views/incline/access_groups/_form.html.erb
incline-0.2.28 app/views/incline/access_groups/_form.html.erb
incline-0.2.27 app/views/incline/access_groups/_form.html.erb