<%= simple_form_for @user, :url => dashboard_memberships_path, method: :post, remote: true, html: { class: "storytime-modal-form", data: { redirect: "index" } } do |f| %>
<%= link_to icon("angle-left"), [:dashboard, :memberships], class: "btn btn-sm btn-default pull-left storytime-modal-trigger", remote: true %> <%= f.submit "Save", class: "btn btn-sm btn-primary btn-outline pull-right" %>

New User

<%= render 'storytime/dashboard/settings_tabs.html.erb' %> <%= f.input :storytime_name %> <%= f.input :email %> <%= f.simple_fields_for :storytime_memberships do |mf| %> <%= mf.association :storytime_role, include_blank: false, label_method: :label %> <% end %> <%= f.input :password %> <%= f.input :password_confirmation %>
<% end %>