README.md in simple_form-5.2.0 vs README.md in simple_form-5.3.0

- old
+ new

@@ -1,6 +1,6 @@ -![Simple Form Logo](https://raw.github.com/heartcombo/simple_form/master/simple_form.png) +![Simple Form Logo](https://raw.github.com/heartcombo/simple_form/main/simple_form.png) Rails forms made easy. **Simple Form** aims to be as flexible as possible while helping you with powerful components to create your forms. The basic goal of **Simple Form** is to not touch your way of defining the layout, letting @@ -260,11 +260,11 @@ <%= f.input :accepts, as: :boolean, checked_value: 'positive', unchecked_value: 'negative' %> <%= f.button :submit %> <% end %> ``` -By default, **Simple Form** generates a hidden field to handle the un-checked case for boolean fields. +By default, **Simple Form** generates a hidden field to handle the un-checked case for boolean fields. Passing `unchecked_value: false` in the options for boolean fields will cause this hidden field to be omitted, following the convention in Rails. You can also specify `include_hidden: false` to skip the hidden field: ```erb <%= simple_form_for @user do |f| %> @@ -1287,13 +1287,12 @@ * Carlos Antonio da Silva (https://github.com/carlosantoniodasilva) * Rafael Mendonça França (https://github.com/rafaelfranca) * Felipe Renan (https://github.com/feliperenan) [![Gem Version](https://fury-badge.herokuapp.com/rb/simple_form.png)](http://badge.fury.io/rb/simple_form) -[![Code Climate](https://codeclimate.com/github/heartcombo/simple_form.png)](https://codeclimate.com/github/heartcombo/simple_form) [![Inline docs](http://inch-ci.org/github/heartcombo/simple_form.png)](http://inch-ci.org/github/heartcombo/simple_form) ## License -MIT License. Copyright 2020 Rafael França, Carlos Antônio da Silva. Copyright 2009-2019 Plataformatec. +MIT License. Copyright 2020-2023 Rafael França, Carlos Antônio da Silva. Copyright 2009-2019 Plataformatec. 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/).