nostr added to lecturer form

This commit is contained in:
HolgerHatGarKeineNode
2023-02-23 23:12:00 +01:00
parent e6811f70ae
commit 1aaa955567
4 changed files with 21 additions and 51 deletions

View File

@@ -49,6 +49,11 @@
<span class="text-gray-400 text-xs py-2">{{ __('This is the introduction text that is shown on the landing page.') }}</span>
</x-input.group>
<x-input.group :for="md5('lecturer.nostr')" :label="__('Nostr public key')">
<x-input autocomplete="off" wire:model.debounce="lecturer.nostr"
:placeholder="__('Nostr public key')" :hint="__('starts with npub...')"/>
</x-input.group>
<x-input.group :for="md5('lecturer.twitter_username')" :label="__('Twitter Username')">
<x-input autocomplete="off" wire:model.debounce="lecturer.twitter_username"
:placeholder="__('Twitter Username')" :hint="__('Without @')"/>

View File

@@ -38,7 +38,7 @@
<div>
{{ __('Author') }}
</div>
<x-button xs href="/nova/resources/lecturers/new" target="_blank">
<x-button xs href="{{ route('contentCreator.form', ['country' => 'de']) }}">
<i class="fa fa-thin fa-plus"></i>
{{ __('Create new author') }}
</x-button>