Fix form submission on Explore page search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-11 10:13:48 +02:00
parent 67093ab6cf
commit 7452f0bd70
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<p> <p>
<span v-html="$t('Mobilizon is under development, we will add new features to this site during regular updates, until the release of <b>version 1 of the software in the first half of 2020</b>.')" /> <span v-html="$t('Mobilizon is under development, we will add new features to this site during regular updates, until the release of <b>version 1 of the software in the first half of 2020</b>.')" />
<i18n path="In the meantime, please consider that the software is not (yet) finished. More information {onBlog}."> <i18n path="In the meantime, please consider that the software is not (yet) finished. More information {onBlog}.">
<a href='https://framablog.org/?p=18299'>{{ $t('on our blog') }}</a> <a slot="onBlog" href='https://framablog.org/?p=18299'>{{ $t('on our blog') }}</a>
</i18n> </i18n>
</p> </p>
</b-message> </b-message>

View File

@ -3,7 +3,7 @@
<h1 class="title">{{ $t('Explore') }}</h1> <h1 class="title">{{ $t('Explore') }}</h1>
<section class="hero"> <section class="hero">
<div class="hero-body"> <div class="hero-body">
<form @submit="submit()"> <form @submit.prevent="submit()">
<b-field :label="$t('Event')" grouped label-position="on-border"> <b-field :label="$t('Event')" grouped label-position="on-border">
<b-input icon="magnify" type="search" size="is-large" expanded v-model="searchTerm" :placeholder="$t('For instance: London, Taekwondo, Architecture…')" /> <b-input icon="magnify" type="search" size="is-large" expanded v-model="searchTerm" :placeholder="$t('For instance: London, Taekwondo, Architecture…')" />
<p class="control"> <p class="control">