Comments (3)
Rails already support fieldsets (check the docs). Note It does not need to be built in the form fuilder because it uses no information whatsover from the form or its object. That said, even if you don't like rails fieldset, you could define in your application helper and use like this:
<% fieldset "OMG" %>
<%= f.input :name %>
<% end %>
:)
from simple_form.
A good point well made :D
from simple_form.
I want to note that SimpleForm fieldsets could use SimpleForm's I18n lookup approach for legends. That would be a large benefit in my opinion.
from simple_form.
Related Issues (20)
- Chrome error: label's for attribute doesn't match any element id HOT 1
- Bootstrap floating labels keep floating even without input HOT 1
- Auto reload configuration HOT 4
- `config.default_form_class` should not be *overriden* but *complemented* when `html: { :class }` is specified HOT 1
- Redundant aria-required on required fields HOT 1
- 5.3.0 - Custom Inputs Fail to Load HOT 4
- Rails 7.1 updated password validation changed rendering of password inputs HOT 1
- Custom Component raise an error with rails 7.1 and zeitwerk HOT 1
- Hints don't work on the namespaced model HOT 2
- Encrypted attributes always default to textarea
- Proposal for customizable classes merging HOT 1
- The custom `error:` on all inputs does not work if there is an object present HOT 3
- Multiple inputs with the same name generate unparseable names in Rails >= 7.1.1 HOT 1
- <div class="checkbox"> <input value="false" type="hidden" name="meal[completed]"> <input class="boolean optional" type="checkbox" value="true" checked="checked" name="meal[completed]" id="meal_completed"> <label class="boolean optional" for="meal_completed">Completed</label> </div>Update: This bug only appears if you have custom value for `unchecked_value`. In this case `unchecked_value: false` HOT 1
- https://simple-form-bootstrap.herokuapp.com/ is Down HOT 2
- Label's for attribute doesn't match the id when nil is given in collection
- Adding a data-x attribute to the root <form>? HOT 1
- Disabled radio_buttons field doesn't post the correct value. HOT 1
- simple_form generate two input box. HOT 1
- `belongs_to` relationships do not show up as required on rails 7.1+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple_form.