Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 13, 2024
1 parent c469764 commit 8f783dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/trade/admin/base/_good_search.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<label class="label">商品</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'home', action: 'good_search') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'home', action: 'good_search') %>">
<%= f.hidden_field :good_type, value: f.object.good_type %>
<%= f.hidden_field :good_id, data: { typer_target: 'value' } %>
<div class="control has-icons-left">
Expand Down
2 changes: 1 addition & 1 deletion app/views/trade/admin/base/_part_search.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<label class="label">配件</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'home', action: 'part_search') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'home', action: 'part_search') %>">
<%= f.hidden_field :part_id, data: { typer_target: 'value' } %>
<div class="control has-icons-left">
<%= search_field_tag 'name-like', nil, class: 'input', placeholder: '搜索', data: { typer_target: 'input' } %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<label class="label">用户</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'user_search') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'user_search') %>">
<%= f.hidden_field :user_id, data: { typer_target: 'value' } %>
<div class="control has-icons-left">
<%= search_field_tag :identity, nil, class: 'input', placeholder: '搜索', data: { typer_target: 'input' } %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<label class="label">用户</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search') %>">
<%= f.hidden_field :member_id, data: { typer_target: 'value' } %>
<div class="control has-icons-left">
<%= search_field_tag :identity, nil, class: 'input', placeholder: '搜索', data: { typer_target: 'input' } %>
Expand Down

0 comments on commit 8f783dc

Please sign in to comment.