Skip to content

Commit

Permalink
お問合せフォームの郵便番号のエラーメッセージが2つ表示されるバグ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kurozumi authored and chihiro-adachi committed Aug 16, 2022
1 parent 8f02333 commit 9e4a62c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
3 changes: 0 additions & 3 deletions html/template/default/assets/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion html/template/default/assets/css/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion html/template/default/assets/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion html/template/default/assets/css/style.min.css.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions html/template/default/assets/scss/project/_19.2.contact.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ Styleguide 19.2
& &__actions {
padding-top:20px;
}
p {
margin:16px 0;
}

}
.ec-contactConfirmRole {
@include container;
Expand Down
15 changes: 7 additions & 8 deletions src/Eccube/Resource/template/default/Contact/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,15 @@ file that was distributed with this source code.
<div class="ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}">
<span>{{ 'common.postal_symbol'|trans }}</span>
{{ form_widget(form.postal_code) }}
{{ form_errors(form.postal_code) }}
</div>
<div class="ec-zipInputHelp">
<div class="ec-zipInputHelp__icon">
<div class="ec-icon"><img
<div class="ec-zipInputHelp">
<div class="ec-zipInputHelp__icon">
<div class="ec-icon"><img
src="{{ asset('assets/icon/question-white.svg') }}" alt="">
</div>
</div><a href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ 'common.search_postal_code'|trans }}</span></a>
</div>
</div><a href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ 'common.search_postal_code'|trans }}</span></a>
</div>
{{ form_errors(form.postal_code) }}
</div>
{{ form_errors(form.postal_code) }}
<div class="ec-select{{ has_errors(form.address.pref) ? ' error' }}">
{{ form_widget(form.address.pref) }}
{{ form_errors(form.address.pref) }}
Expand Down

0 comments on commit 9e4a62c

Please sign in to comment.