labels for step one

This commit is contained in:
Tykayn 2021-11-16 11:03:20 +01:00 committed by tykayn
parent 2f26e27e31
commit 8f6fe6044a
3 changed files with 15 additions and 9 deletions

View File

@ -8,7 +8,7 @@
<div class="columns">
<div class="column">
<div>
<label for="title">Titre</label>
<label for="title">{{ 'creation.choose_title_label' | translate }}</label>
</div>
<input
class="input is-fullwidth"
@ -18,6 +18,7 @@
(keyup)="pollService.updateSlug()"
(blur)="pollService.updateSlug()"
id="title"
maxlength="140"
autofocus="autofocus"
required
/>
@ -41,7 +42,7 @@
#description
matInput
id="descr"
class="is-large is-full"
class="is-large is-full input"
placeholder="Description"
formControlName="description"
required
@ -58,11 +59,15 @@
</div>
</form>
<div class="columns">
<div class="column"></div>
<div class="column">
<button class="button is-warning is-fullwidth" [routerLink]="['/']">
Annuler
</button>
</div>
<div class="column">
<!-- [disabled]="form.invalid"-->
<button class="button is-primary is-fullwidth" [routerLink]="['/administration/step/2']">
suivant
Suivant
</button>
</div>
</div>

View File

@ -34,7 +34,8 @@
"classic": "classique",
"date": "spécial dates"
},
"choose_title": "Dont le titre sera",
"choose_title": "Renseignez un nom pour votre sondage",
"choose_title_label": "Nom de votre sondage (obligatoire)",
"choose_title_placeholder": "titre",
"choices_hint": "Utilisez les flèches haut ⬆️ et bas ⬇️ pour passer d'un choix à un autre",
"name": "Je peux aussi préciser mon nom si je le souhaite",

View File

@ -1,10 +1,10 @@
export const backendApiUrlsInDev = {
// local: 'http://tktest.lan/api/v1',
// remote: 'http://tktest.lan/api/v1',
// local: 'https://localhost:8000/api/v1',
local: 'https://framadate-api.cipherbliss.com/api/v1',
// remote: 'https://localhost:8000/api/v1',
remote: 'https://framadate-api.cipherbliss.com/api/v1',
local: 'https://localhost:8000/api/v1',
// local: 'https://framadate-api.cipherbliss.com/api/v1',
remote: 'https://localhost:8000/api/v1',
// remote: 'https://framadate-api.cipherbliss.com/api/v1',
};
export const apiV1 = {
// baseHref: 'https://localhost:8000/api/v1',