bootstrap_form
https://github.com/bootstrap-ruby/bootstrap_form
Ruby
Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
BootstrapForm::Helpers::Bootstrap#prevent_prepend_and_append!
Some helpers don't currently accept prepend and append. However, it's not clear if that's corrent. In the meantime, strip to options before calling methods that don't accept prepend and append.
Edit
git clone [email protected]:bootstrap-ruby/bootstrap_form.git
cd bootstrap_form
open lib/bootstrap_form/helpers/bootstrap.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-BootstrapForm--Helpers--Bootstrap-prevent_prepend_and_append--for-pr
# Commit to gitgit add lib/bootstrap_form/helpers/bootstrap.rbgit commit -m "better docs for BootstrapForm::Helpers::Bootstrap#prevent_prepend_and_append!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-BootstrapForm--Helpers--Bootstrap-prevent_prepend_and_append--for-pr
hub pull-request
# Celebrate!