
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
simple_form_bootstrap_inputs
Advanced tools
gem 'simple_form_bootstrap_inputs', github: 'BrandyMint/simple_form_bootstrap_inputs'
$ bundle
Необходим bootstrap и bootstrap-datetimepicker
В application.js:
//= require bootstrap
//= require bootstrap-datetimepicker
document.addEventListener("turbolinks:load", function() {
$('div.datetimepicker').datetimepicker({ locale: 'ru', format: 'DD-MM-YYYY' });
});
Пример
= simple_form_for model do |f|
= f.input :date, as: 'simple_form_bootstrap_inputs/date_picker'
= f.input :currency, as: 'simple_form_bootstrap_inputs/currency'
= f.input :datetime, as: 'simple_form_bootstrap_inputs/datetime_picker'
...
date - дата по умолчанию в формате: 'YYYY-MM-DD'

datetime - дата и время в формате: 'YYYY-MM-DD' + ' ' + 'HH:mm'

currency:
у model должны быть 2 аттрибута, например - value и value_currency - string

FAQs
Unknown package
We found that simple_form_bootstrap_inputs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.