
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Short description and motivation.
Add this line to your application's Gemfile:
gem 'simple_form-theme'
And then execute:
bundle
As an alternative instead of adding an additional dependency to your project, you can copy the initializer file to your project from the GitHub repository.
Example:
cp lib/generators/simple_form/theme/templates/config/initializers/simple_form_tailwindcss.rb yourapp/config/initializers/simple_form_tailwindcss.rb
However, if you install the gem, you will get the latest updates and improvements.
bin/rails generate simple_form:theme:tailwind install
After running this generator, you will see the config/initializers/simple_form_tailwindcss.rb
file.
This file adds the Tailwind CSS styles to your application.
Additionally, the config/locales/simple_form_tailwind.en.yml
file will add the "required" mark to the required fields.
However, you need to communicate Tailwind to "watch" those files by adding the following configuration:
# tailwind.config.js
module.exports = {
...
content: [
'./config/initializers/simple_form_tailwindcss.rb',
'./config/locales/simple_form*.yml',
...
],
}
bin/rails generate simple_form:theme:bulma install
Bug reports and pull requests are welcome on GitHub at https://github.com/JuanVqz/simple_form-theme
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that simple_form-theme demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.