Débug (non finin) et début controller addedit_project
This commit is contained in:
parent
b6ca898069
commit
747bc76de2
12 changed files with 35 additions and 18 deletions
|
|
@ -7,17 +7,17 @@
|
|||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Titre</label>
|
||||
<input type="text" name="titleProject" class="form-control" required>
|
||||
<input type="text" name="titleProject" class="form-control {if (isset($arrError['title'])) } is-invalid {/if} " value="{$objProject->getTitle()}" required>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Description (courte)</label>
|
||||
<textarea name="descProject" class="form-control" rows="2"></textarea>
|
||||
<textarea name="descProject" class="form-control {if (isset($arrError['descProject'])) } is-invalid {/if} " rows="2">{$objProject->getDescription()}</textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Texte complet du Portfolio</label>
|
||||
<textarea name="textProject" class="form-control" rows="5"></textarea>
|
||||
<textarea name="textProject" class="form-control {if (isset($arrError['content'])) } is-invalid {/if}" rows="5">{$objProject->getContent()}</textarea>
|
||||
</div>
|
||||
|
||||
<div class="col-6 mb-3">
|
||||
|
|
@ -26,9 +26,7 @@
|
|||
<select class="form-select" id="category" name="category">
|
||||
<option value="0" {if $intCategory == 0}selected{/if}>Toutes les catégories</option>
|
||||
{foreach $arrCategory as $arrDetCategory}
|
||||
<option value="{$arrDetCategory['category_id']}"
|
||||
{if $intCategory == $arrDetCategory['category_id']}selected{/if}
|
||||
>
|
||||
<option value="{$arrDetCategory['category_id']}" {if $intCategory == $arrDetCategory['category_id']}selected{/if}>
|
||||
{$arrDetCategory['category_name']}
|
||||
</option>
|
||||
{/foreach}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue