diff --git a/app/views/application/_form_with.html.erb b/app/views/application/_form_with.html.erb index 86155c6..d23cf2a 100644 --- a/app/views/application/_form_with.html.erb +++ b/app/views/application/_form_with.html.erb @@ -1,5 +1,5 @@ -<%# locals: (url: nil, model:nil, **attributes) -%> -<%= form_with url:, model: model || false, html: attributes do |form| %> +<%# locals: (url: nil, model:false, **attributes) -%> +<%= form_with url:, model:, html: attributes do |form| %> <% provide(form:) do %> <%= yield form %> <% end %> diff --git a/theo-rails.gemspec b/theo-rails.gemspec index 507e31d..ae6f3f5 100644 --- a/theo-rails.gemspec +++ b/theo-rails.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "theo-rails" - spec.version = "0.4.5" + spec.version = "0.4.6" spec.summary = "Theo is HTML-like template language" spec.description = "HTML-like template language for Rails with natural partial syntax" spec.authors = ["Jarek Lipski"]