Posted in Contribute to a gem
Make a pull request. That is generally the accepted means to contribute. If the maintainer finds value in the pull request, they can merge it in. If you create a pull request and the maintainer rejects your changes, you are free to create a new gem containing your code or even fork the gem to create a new version.
When you create a pull request, it would be best if you submit the relevant code meeting the standards of the current gem. If you submit sloppy code that is hard to follow it will generally get rejected.
Posted in creating multiple input fields in rails
<% (1..18).each do %>
<%= input type="number" style="width: 8px" %>
<% end %>