mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🚀 feat(project-support): add project proposal form and listing pages with image uploads and voting functionality
This commit is contained in:
18
app/Livewire/Forms/ProjectProposalForm.php
Normal file
18
app/Livewire/Forms/ProjectProposalForm.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire\Forms;
|
||||
|
||||
use Livewire\Attributes\Validate;
|
||||
use Livewire\Form;
|
||||
|
||||
class ProjectProposalForm extends Form
|
||||
{
|
||||
#[Validate('required|min:5')]
|
||||
public $name = '';
|
||||
|
||||
#[Validate('required|numeric|min:21')]
|
||||
public $support_in_sats = '';
|
||||
|
||||
#[Validate('required|string|min:5')]
|
||||
public $description = '';
|
||||
}
|
||||
Reference in New Issue
Block a user