lib/ccs/components/govuk/pagination/item/form.rb in ccs-frontend_helpers-0.3.0 vs lib/ccs/components/govuk/pagination/item/form.rb in ccs-frontend_helpers-0.5.0.beta0
- old
+ new
@@ -35,10 +35,10 @@
# Generates the HTML for the GOV.UK Pagination item button
#
# @return [ActiveSupport::SafeBuffer]
def render
- super() do
+ super do
form.button(number, **@options[:attributes])
end
end
end
end