Skip to content

Commit

Permalink
revert to previous solution for form_with
Browse files Browse the repository at this point in the history
  • Loading branch information
loomchild committed Nov 10, 2024
1 parent de6de5f commit 98119cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/application/_form_with.html.erb
Original file line number Diff line number Diff line change
@@ -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 %>
Expand Down
2 changes: 1 addition & 1 deletion theo-rails.gemspec
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 98119cf

Please sign in to comment.