
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
simple_form_bootstrap_datepicker
Advanced tools
Adds a bootstrap date picker for Simple Form.
Includes support for Bootstrap, FontAwesome, and Foundation icon libraries used in the bootstrap input group.
Add it to your Gemfile:
gem 'simple_form_bootstrap_datepicker'
Run the following command to install it:
bundle install
Run the generator:
rails generate simple_form_bootstrap_datepicker:install
<%= simple_form_for @user do |f| %>
<%= f.input :start_date, as: :date_picker, wrapper: date_picker, input_html: {icon: :bs} %>
<%= f.button :submit %>
<% end %>
A default placeholder is added mm/dd/yyyy
if one is not specified. There are currently three icon libraries which can be specified with :bs
for bootstrap, :fa
for font-awesome, and :fi
for foundation. If an icon library isn't specified then a default Date
will be added the icon section.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that simple_form_bootstrap_datepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.