62 lines
2.8 KiB
HTML
62 lines
2.8 KiB
HTML
<form name="vcard4" id="vcard4form">
|
|
<div>
|
|
<ul class="list">
|
|
<li>
|
|
<span class="primary icon gray" aria-hidden="true">
|
|
<i class="material-symbols">face</i>
|
|
</span>
|
|
<div>
|
|
<input dir="auto" type="text" name="fn" value="{{ contact.fn or '' }}" placeholder="{{ __('general.name') }}">
|
|
<label for="fn">{{ __('general.name') }}</label>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<span class="primary" aria-hidden="true"></span>
|
|
<div>
|
|
<input dir="auto" type="text" name="name" value="{{ contact.nickname or '' }}" placeholder="{{ __('general.nickname') }}">
|
|
<label for="name">{{ __('general.nickname') }}</label>
|
|
<span class="supporting"><i class="material-symbols">lightbulb</i> {{ __('vcard.nickname_info') }}</span>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<span class="primary icon gray" aria-hidden="true">
|
|
<i class="material-symbols">email</i>
|
|
</span>
|
|
<div>
|
|
<input type="email" name="email" value="{{ contact.email or '' }}" placeholder="{{ __('general.email') }}">
|
|
<label for="email">{{ __('general.email') }}</label>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<span class="primary icon gray" aria-hidden="true">
|
|
<i class="material-symbols">link</i>
|
|
</span>
|
|
<div>
|
|
<input type="url" name="url" value="{{ contact.url or '' }}" placeholder="https://mywebsite.com/">
|
|
<label for="url">{{ __('general.website') }}</label>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<span class="primary icon gray" aria-hidden="true">
|
|
<i class="material-symbols">short_text</i>
|
|
</span>
|
|
<div>
|
|
<textarea dir="auto" name="desc" id="desctext" placeholder="{{ __('general.about') }}" style="min-height: 3rem;">{{ contact.description or '' }}</textarea>
|
|
<label for="desc">{{ __('general.about') }}</label>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="block large">
|
|
<button
|
|
onclick="Vcard4_ajaxVcardSubmit(MovimUtils.formToJson('vcard4')); this.className='button oppose inactive';"
|
|
class="button color oppose" type="button" id="vcard4validate">
|
|
{{ __('button.save') }}
|
|
</button>
|
|
<button onclick="document.querySelector('#vcard4form').reset();" type="button" class="button flat oppose">
|
|
{{ __('button.reset') }}
|
|
</button>
|
|
</div>
|
|
</form>
|