You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -177,11 +177,11 @@ See http://blog.plataformatec.com.br/2019/09/incorrect-access-control-in-simple-
177
177
* Add `boolean_label_class` config.
178
178
* Add `:html` option to include additional attributes on custom wrappers [@remofritzsche](https://github.com/remofritzsche) and [@ulissesalmeida](https://github.com/ulissesalmeida)
179
179
* Make possible to use the Wrappers API to define attributes for the components.
180
-
See https://github.com/plataformatec/simple_form/pull/997 for more information.
180
+
See https://github.com/heartcombo/simple_form/pull/997 for more information.
181
181
* Put a whitespace before the `inline_label` options of boolean input if it is present.
182
182
* Add support to configure the `label_text` proc at the wrapper level. [@NOX73](https://github.com/NOX73)
183
183
*`label_text` proc now receive three arguments (label, request, and if the label was explicit). [@timscott](https://github.com/timscott)
184
-
* Add I18n support to `:include_blank` and `:prompt` when `:translate` is used as value. [@haines](https://github.com/plataformatec/simple_form/pull/616)
184
+
* Add I18n support to `:include_blank` and `:prompt` when `:translate` is used as value. [@haines](https://github.com/heartcombo/simple_form/pull/616)
185
185
* Add support to define custom error messages for the attributes.
186
186
* Add support to change the I18n scope to be used in Simple Form. [@nielsbuus](https://github.com/nielsbuus)
187
187
* The default form class can now be overridden with `html: { :class }`. [@rmm5t](https://github.com/rmm5t)
@@ -190,16 +190,16 @@ See http://blog.plataformatec.com.br/2019/09/incorrect-access-control-in-simple-
190
190
* Fix `full_error` when the attribute is an association. [@mvdamme](https://github.com/jorge-d)
191
191
* Fix suppport to `:namespace` and `:index` options for nested check boxes and radio buttons when the attribute is an association.
**Simple Form** also lets you overwrite the default input type it creates:
@@ -288,7 +285,7 @@ end
288
285
</form>
289
286
```
290
287
291
-
To view the actual RDocs for this, check them out here - http://rubydoc.info/github/plataformatec/simple_form/master/SimpleForm/FormBuilder:input_field
288
+
To view the actual RDocs for this, check them out here - http://rubydoc.info/github/heartcombo/simple_form/master/SimpleForm/FormBuilder:input_field
292
289
293
290
### Collections
294
291
@@ -318,7 +315,7 @@ Collection inputs accept two other options beside collections:
318
315
Those methods are useful to manipulate the given collection. Both of these options also accept
319
316
lambda/procs in case you want to calculate the value or label in a special way eg. custom
320
317
translation. You can also define a `to_label` method on your model as **Simple Form** will search for
321
-
and use `:to_label` as a `:label_method` first if it is found.
318
+
and use `:to_label` as a `:label_method` first if it is found.
322
319
323
320
By default, **Simple Form** will use the first item from an array as the label and the second one as the value.
324
321
If you want to change this behavior you must make it explicit, like this:
@@ -992,7 +989,7 @@ when the content is present.
992
989
993
990
## Custom Components
994
991
995
-
When you use custom wrappers, you might also be looking for a way to add custom components to your
992
+
When you use custom wrappers, you might also be looking for a way to add custom components to your
996
993
wrapper. The default components are:
997
994
998
995
```ruby
@@ -1143,7 +1140,7 @@ by passing the html5 option:
1143
1140
1144
1141
### Using non Active Record objects
1145
1142
1146
-
There are few ways to build forms with objects that don't inherit from Active Record, as
1143
+
There are few ways to build forms with objects that don't inherit from Active Record, as
1147
1144
follows:
1148
1145
1149
1146
You can include the module `ActiveModel::Model`.
@@ -1156,7 +1153,7 @@ class User
1156
1153
end
1157
1154
```
1158
1155
1159
-
If you are using Presenters or Decorators that inherit from `SimpleDelegator` you can delegate
1156
+
If you are using Presenters or Decorators that inherit from `SimpleDelegator` you can delegate
1160
1157
it to the model.
1161
1158
1162
1159
```ruby
@@ -1190,7 +1187,7 @@ class User
1190
1187
end
1191
1188
```
1192
1189
1193
-
If your object doesn't implement those methods, you must make explicit it when you are
1190
+
If your object doesn't implement those methods, you must make explicit it when you are
1194
1191
building the form
1195
1192
1196
1193
```ruby
@@ -1213,44 +1210,36 @@ end
1213
1210
1214
1211
## Information
1215
1212
1216
-
### Google Group
1217
-
1218
-
If you have any questions, comments, or concerns please use the Google Group instead of the GitHub
MIT License. Copyright 2009-2019 Plataformatec. http://plataformatec.com.br
1242
+
MIT License. Copyright 2020 Rafael França, Carlos Antônio da Silva. Copyright 2009-2019 Plataformatec.
1243
+
1244
+
The Simple Form logo is licensed under [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](https://creativecommons.org/licenses/by-nc-nd/4.0/).
1254
1245
1255
-
You are not granted rights or licenses to the trademarks of the Plataformatec, including without
0 commit comments