= simple_nested_form_for @user, url: settings_path, turboboost: true, validate: true, html: { multipart: true, class: "tutor_update_form" } do |f| = hidden_field_tag :type, :tasks = f.input :category_ids, label: false, validate: true, input_html: {value: '', class: 'token-input', data: {target: api_categories_autocomplete_path, load: f.object.categories.to_json(only: [:id, :name])}} = f.button :submit, 'Update Tasks', class: 'btn btn-info pull-right'