Sha256: 3cfb157c6576ff6797ab1ada51d72bf848841740cd9d8e422cb1063b53146042

Contents?: true

Size: 750 Bytes

Versions: 8

Compression:

Stored size: 750 Bytes

Contents

<%= simple_form_for [:dashboard, Storytime::Membership.new], remote: true do |f| %>
  <div class="panel-body">
    <div class="row">
      <div class="col-xs-6"><%= f.association :user, collection: Storytime.user_class.non_members(@current_storytime_site), label_method: :email, label: false, input_html: { class: "chosen", data: { placeholder: "Select a user" } }, wrapper_html: { class: "no-margin" } %></div>
      <div class="col-xs-6"><%= f.association :storytime_role, label: false, label_method: :label, include_blank: false, wrapper_html: { class: "no-margin" } %></div>
    </div>
  </div>
  <div class="panel-footer">
    <%= f.submit "Save", class: "btn btn-default btn-sm pull-right" %>
    <div class="clearfix"></div>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-2.1.6 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.5 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.4 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.3 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.2 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.1 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.1.0 app/views/storytime/dashboard/memberships/_form.html.erb
storytime-2.0.0 app/views/storytime/dashboard/memberships/_form.html.erb