Browse Source

Update installation form

Set website to not required
Add web address placeholder as a hint
Update validation message for invalid url entry
pull/18/head
Nafies Luthfi 7 years ago
parent
commit
3355adcce2
  1. 2
      resources/lang/de/validation.php
  2. 2
      resources/lang/en/validation.php
  3. 2
      resources/lang/id/validation.php
  4. 2
      resources/views/auth/app-install.blade.php

2
resources/lang/de/validation.php

@ -77,7 +77,7 @@ return [
'string' => 'Das :attribute muss ein String sein.', 'string' => 'Das :attribute muss ein String sein.',
'timezone' => 'Das :attribute muss eine gültige Zeitzone sein.', 'timezone' => 'Das :attribute muss eine gültige Zeitzone sein.',
'unique' => 'Das :attribute ist bereits vergeben.', 'unique' => 'Das :attribute ist bereits vergeben.',
'url' => 'Das :attribute Format ist ungültig.',
'url' => 'Bitte geben Sie eine gültige Domain mit http/https ein.',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

2
resources/lang/en/validation.php

@ -77,7 +77,7 @@ return [
'string' => 'The :attribute must be a string.', 'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.', 'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.', 'unique' => 'The :attribute has already been taken.',
'url' => 'The :attribute format is invalid.',
'url' => 'Please enter a valid domain with http/https.',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

2
resources/lang/id/validation.php

@ -77,7 +77,7 @@ return [
'string' => 'Isian :attribute harus berupa string.', 'string' => 'Isian :attribute harus berupa string.',
'timezone' => 'Isian :attribute harus berupa zona waktu yang valid.', 'timezone' => 'Isian :attribute harus berupa zona waktu yang valid.',
'unique' => 'Isian :attribute sudah ada sebelumnya.', 'unique' => 'Isian :attribute sudah ada sebelumnya.',
'url' => 'Format isian :attribute tidak valid.',
'url' => 'Mohon isi domain yang valid beserta http/https.',
/* /*
|--------------------------------------------------------------------------------------- |---------------------------------------------------------------------------------------

2
resources/views/auth/app-install.blade.php

@ -18,7 +18,7 @@
<div class="col-sm-6"> <div class="col-sm-6">
<p>{{ __('app_install.agency_info_text') }}</p> <p>{{ __('app_install.agency_info_text') }}</p>
{!! FormField::text('agency_name', ['required' => true, 'label' => __('agency.name')]) !!} {!! FormField::text('agency_name', ['required' => true, 'label' => __('agency.name')]) !!}
{!! FormField::text('agency_website', ['required' => true, 'label' => __('agency.website')]) !!}
{!! FormField::text('agency_website', ['label' => __('agency.website'), 'placeholder' => 'https://yourdomain.com']) !!}
</div> </div>
</div> </div>
<hr style="margin: 10px 0;"> <hr style="margin: 10px 0;">

Loading…
Cancel
Save