Skip to content

Commit

Permalink
Fixed create form
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkBrines committed Oct 22, 2024
1 parent a51d80d commit 7052aa7
Showing 1 changed file with 36 additions and 39 deletions.
75 changes: 36 additions & 39 deletions resources/views/apps/create.edge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@!layout('base/main-apps')
@!layout('base/main')

@section('title')
Create App
Expand All @@ -10,43 +10,40 @@ Create App
@endsection

@section('content')
@if(category)
<h1 class="search-title">{{ t('ui.marketplace.category.' + category) }}</h1>
@elseif(query)
<h1 class="search-title">{{ t('ui.marketplace.resultsFor', {query}) }}</h1>
@else
<h1 class="search-title">{{ t('ui.marketplace.indexCategory') }}</h1>
@end
<section class="container">

<form>
<div>
<input type='text' name='name' value='name'/>
</div>
<div>
<input type='text' name='desc' value='description'/>
</div>
<div>
<input type='file' name='image' value='image'/>
</div>
<div>
<input type='url' name='source_url' value='source url'/>
</div>
<div>
<input type='url' name='releases' value='release url'/>
</div>
<div>
<select name="categories" multiple>
<option value="productivity">productivity</option>
<option value="utilities">utilities</option>
<option value="communication">communication</option>
<option value="games">games</option>
<option value="multimedia">multimedia</option>
<option value="other">other</option>
</select>
</div>
<div>
<button type="submit">create</button>
</div>
</form>
<h1 class="search-title">{{ t('ui.marketplace.indexCategory') }}</h1>

@endsection
<form>
<div>
<input type='text' name='name' />
</div>
<div>
<input type='text' name='desc' />
</div>
<div>
<input type='file' name='image' />
</div>
<div>
<input type='url' name='source_url' />
</div>
<div>
<input type='url' name='releases' />
</div>
<div>
<select name="categories">
<option value="productivity">productivity</option>
<option value="utilities">utilities</option>
<option value="communication">communication</option>
<option value="games">games</option>
<option value="multimedia">multimedia</option>
<option value="other">other</option>
</select>
</div>
<div>
<button type="submit">create</button>
</div>
</form>

</section>
@endsection

0 comments on commit 7052aa7

Please sign in to comment.