Skip to content

Commit efb14bc

Browse files
marcorothcompwron
authored andcommitted
input_tag -> tag.input
1 parent d93f407 commit efb14bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/views/emancipations/show.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<% @emancipation_form_data.each do |category| %>
1919
<h6 class="emancipation-category no-select" data-is-open="<%= emancipation_category_checkbox_checked(@current_case, category) ? "true" : "false" %>">
2020
<div class="checkbox-style emacipation-category-input-label-pair">
21-
<%= input_tag(
21+
<%= tag.input(
2222
type: "checkbox",
2323
class: "emancipation-category-check-box form-check-input",
2424
value: category.id,
@@ -34,15 +34,15 @@
3434
<% category.emancipation_options.each do |option| %>
3535
<div class="check-item">
3636
<% if category.mutually_exclusive %>
37-
<%= input_tag(
37+
<%= tag.input(
3838
type: "radio",
3939
id: "O#{option.id}",
4040
class: "emancipation-radio-button",
4141
name: "C#{category.id}",
4242
value: option.id,
4343
disabled: emancipation_category_checkbox_checked(@current_case, option)) %>
4444
<% else %>
45-
<%= input_tag(
45+
<%= tag.input(
4646
type: "checkbox",
4747
id: "O#{option.id}",
4848
class: "emancipation-option-check-box",

0 commit comments

Comments
 (0)