x
1
2
3
<form action="/models" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="_rENjlcerARiddv6z8w1deqQjaygxcI-52gJ--hEZqKb2DDQOVN7ZJoxUYH_26LWu93hPHYev-wh6e8CNidyKQ" autocomplete="off" />
<input type="week" name="model[attribute]" id="model_attribute" />
</form>
1
2
3
<%= form_with model: model do |form| %>
<%= form.week_field :attribute %>
<% end %>