Skip to content

Commit

Permalink
tpe
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 13, 2024
1 parent 723d40a commit 3d332ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/wechat/panel/agencies/_organ.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<label class="label"><%= Wechat::Agency.human_attribute_name(:organ_id) %></label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>">
<%= f.hidden_field :organ_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
2 changes: 1 addition & 1 deletion app/views/wechat/panel/corps/organ.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<label class="label"><%= Wechat::Corp.human_attribute_name(:organ_id) %></label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>">
<%= f.hidden_field :organ_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 @@ -5,7 +5,7 @@
<label class="label"><%= Wechat::Payee.human_attribute_name(:organ_id) %></label>
</div>
<div class="field-body">
<div data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>" data-typer-method-value="post" class="panel">
<div data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>" class="panel">
<%= f.hidden_field :organ_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
2 changes: 1 addition & 1 deletion app/views/wechat/panel/payees/organ.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<label class="label"><%= Wechat::Payee.human_attribute_name(:organ_id) %></label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(action: 'search_organs') %>">
<%= f.hidden_field :organ_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
4 changes: 2 additions & 2 deletions app/views/wechat/panel/platforms/agency.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<label class="label">公众号示例</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'agencies', action: 'search', platform_id: @platform.id, dom_id: 'public_agencies_content') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'agencies', action: 'search', platform_id: @platform.id, dom_id: 'public_agencies_content') %>">
<%= f.hidden_field :public_agency_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 All @@ -21,7 +21,7 @@
<label class="label">小程序示例</label>
</div>
<div class="field-body">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'agencies', action: 'search', platform_id: @platform.id, dom_id: 'program_agencies_content') %>" data-typer-method-value="post">
<div class="panel" data-controller="typer" data-typer-url-value="<%= url_for(controller: 'agencies', action: 'search', platform_id: @platform.id, dom_id: 'program_agencies_content') %>">
<%= f.hidden_field :program_agency_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

0 comments on commit 3d332ba

Please sign in to comment.