Skip to content

Commit

Permalink
Add: 酒フォームの炭酸項目に選択肢を追加した
Browse files Browse the repository at this point in the history
  • Loading branch information
yonta committed Jun 30, 2024
1 parent 54c4d10 commit 3cb9dfa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/views/sakes/_form_review.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@
</div>
<div class="col-12">
<%= form.label(:awa, class: "form-label") %>
<%= form.text_field(:awa, class: "form-control", data: { testid: "sake_awa" }) %>
<%= form.text_field(:awa,
class: "form-control",
autocomplete: "on",
list: "awa-list",
data: { testid: "sake_awa" }) %>
<datalist id="awa-list">
<option value="強炭酸"></option>
<option value="炭酸"></option>
<option value="微炭酸"></option>
<option value="炭酸なし"></option>
</datalist>
</div>
</div>
</div>
Expand Down

0 comments on commit 3cb9dfa

Please sign in to comment.