<%= bootstrap_form_for @my_module, url: my_module_path(@my_module, format: :json), remote: :true do |f| %> <%= f.datetime_picker :due_date, label: t("my_modules.due_date.label"), clear: true %> <% end %>