Update the admin template
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
{/if}
 | 
			
		||||
</div>
 | 
			
		||||
{/if}
 | 
			
		||||
<form method="post" action=".">
 | 
			
		||||
<form method="post" enctype="multipart/form-data" action=".">
 | 
			
		||||
<table class="form" summary="">
 | 
			
		||||
<tr>
 | 
			
		||||
<th><strong>{$form.f.name.labelTag}:</strong></th>
 | 
			
		||||
@@ -30,6 +30,30 @@
 | 
			
		||||
{$form.f.description|unsafe}
 | 
			
		||||
</td>
 | 
			
		||||
</tr>
 | 
			
		||||
<tr>
 | 
			
		||||
<th><strong>{trans 'Actual logo'}:</strong></th>
 | 
			
		||||
<td>
 | 
			
		||||
{if $project.logo}
 | 
			
		||||
<img src="{$upload_path}/{$project.logo}" alt="project logo" />
 | 
			
		||||
{else}
 | 
			
		||||
{trans 'Your project do not have a logo configured yet.'}
 | 
			
		||||
{/if}
 | 
			
		||||
</td>
 | 
			
		||||
</tr>
 | 
			
		||||
<tr>
 | 
			
		||||
<th><strong>{$form.f.logo.labelTag}:</strong></th>
 | 
			
		||||
<td>{if $form.f.logo.errors}{$form.f.logo.fieldErrors}{/if}
 | 
			
		||||
{$form.f.logo|unsafe}
 | 
			
		||||
</td>
 | 
			
		||||
</tr>
 | 
			
		||||
{if $project.logo}
 | 
			
		||||
<tr>
 | 
			
		||||
<th><strong>{$form.f.logo_remove.labelTag}:</strong></th>
 | 
			
		||||
<td>{if $form.f.logo_remove.errors}{$form.f.logo_remove.fieldErrors}{/if}
 | 
			
		||||
{$form.f.logo_remove|unsafe}
 | 
			
		||||
</td>
 | 
			
		||||
</tr>
 | 
			
		||||
{/if}
 | 
			
		||||
<tr><td> </td>
 | 
			
		||||
<td>
 | 
			
		||||
<input type="submit" name="submit" value="{trans 'Save Changes'}" />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user