<div style="position:relative;left:10px;width:1000px;">
﻿<h2><a style="text-decoration:none;" href="./index.php?admin_modul=admin_object_list&object=Payment_method">Zahlungsarten</a> -&gt; {$form_data->name}</h2>

<div id="adminLeftFloater">
	<div title="Stammdaten" id="stammdaten">
		<form class="edit" method="POST">
			<input type="hidden" name="modul" value="admin_country_editor" />
			<input type="hidden" id="id" name="id" value="{$form_data->id}" />
				
				<div class="edit_title">Interna:</div>
				<div class="edit_element_2_5">
					<label>Name</label>
					<input id="customerCreationFirstname" name="form_field[name]" value="{$form_data->name}" type="text" />
				</div>				
				<div class="edit_element_2_5">
					<label>Freigabe für Shop</label>
					<input type="checkbox" name="form_field[active]" value="true" {if $form_data->active eq '1'}checked="checked"{/if}>
				</div>
				<div class="edit_endline"></div>
				<div class="edit_element_3_5" style="height:170px;">
					<label>Notiz f&uuml;r die Rechnung</label>
					<textarea style="height:100px;" name="form_field[invoice_text]">{$form_data->invoice_text}</textarea>
				</div>				
				<div class="edit_endline"></div>
				<div class="edit_element_3_5" style="height:170px;">
					<label>Text f&uuml;r den Kassengang</label>
					<textarea style="height:100px;" name="form_field[order_text]">{$form_data->order_text}</textarea>
				</div>
				<div class="edit_endline"></div>
				<div class="edit_element_3_5" style="height:170px;">
					<label>Text f&uuml;r Kundenemail - Bestellbest&auml;tigung</label>
					<textarea style="height:100px;" name="form_field[order_email_text]">{$form_data->order_email_text}</textarea>
				</div>				
				<div class="edit_endline"></div>
			<input style="position:relative;left:185px;width: 200px;" type="submit" name="submit" id="submit" value="Zahlungsart speichern" />
		</form>
	</div>
	{if $config_data}
	<div title="Einstellungen" id="einstellungen">
		<form class="edit" method="POST">
			<input type="hidden" name="modul" value="admin_country_editor" />
			<input type="hidden" id="id" name="id" value="{$form_data->configuration_group_id}" />
				{foreach from=$config_data item=form_element}
					{if $form_element->text == 'multi'}
					<div class="edit_element_1_1" style="height:200px;">
						<label>{$form_element->name}</label>
						<textarea name="form_field[{$form_element->name}]" style="height:190px;" wrap="off">{$form_element->setting}</textarea>
					</div>	
					<div class="edit_element_1_1">
						<br>{$form_element->description}
					</div>
					<div class="edit_endline"></div>
					{elseif $form_element->text == 'formated'}
					<div class="edit_element_1_1" style="height:320px;">
						<label>{$form_element->name}</label>
						<textarea class="texteditor" name="form_field[{$form_element->name}]" style="height:190px;">{$form_element->setting}</textarea>
					</div>	
					<div class="edit_element_1_1">
						<br>{$form_element->description}
					</div>
					<div class="edit_endline"></div>
					{else}
					<div class="edit_element_2_5">
						<label>{$form_element->name}</label>
						<input id="customerCreationFirstname" name="form_field[{$form_element->name}]" value="{$form_element->setting}" type="text" />
					</div>	
					<div class="edit_element_3_5">
						<br>{$form_element->description}
					</div>
					<div class="edit_endline"></div>
					{/if}
				{/foreach}
			<input style="position:relative;left:185px;width: 200px;" type="submit" name="submit" id="submit" value="Einstellungen speichern" />
		</form>
	</div>
	{/if}
</div>

</div>
<script src="{$info->base_url}/themes/admin/media/js/admin_country_editor.js"></script>



{if $info_message}<div class="info_message message">{$info_message}</div>{/if}
{if $warning_message}<div class="warning_message message">{$warning_message}</div>{/if}
{if $error_message}<div class="error_message message">{$error_message}</div>{/if}