
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
bootstrap-tagsinput-rails
Advanced tools
Original Git source - https://github.com/timschlechter/bootstrap-tagsinput
To gemify the assets of bootstrap-tagsinput
jQuery plugin for Rails >= 3.1
Designed for Bootstrap 2.3.2 and 3
Add this line to your application's Gemfile:
gem 'bootstrap-tagsinput-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bootstrap-tagsinput-rails
in app/assets/application.js
//= require bootstrap-tagsinput
in app/assets/application.css
*= require bootstrap-tagsinput
in form view, you should add data-role='tagsinput'
within input tag as the follows: for example, in simple-form
view template,
<%= f.input :tag_list, input_html:{data:{role:'tagsinput'}} %>
Or if using Rails 4 with Bootstrap, use the following,
<%= f.text_field :tag_list, 'data-role'=>'tagsinput' %>
That's it
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.