[% META title = 'Haematological Malignancy Research Network &raquo; Edit Practice' %]

<!-- BEGIN hmrn/data/edit_practice.tt  -->
    [% # PROCESS dumper.tt dump = data %]
    
	[% PROCESS site/autosuggest.tt %]
    <script type="text/javascript">
	<!--
		function make_blank() {
			document.practice.practice_name.value = "";
		}
	-->
	</script>

    <h3>Edit GP practice:</h3>
    
    <form method="post" action="[% app_url %]/hmrn_data/edit_practice/[% c.param('id')
            %]/[% data.patient_id %]" name="practice" id="practice">
        <p class="indent">
            <input type="text" name="practice_name" id="location_name"
				value="[% data.practice.display_name %]"
				style="width: 600px" onclick="make_blank();" />
			<input type="hidden" id="source_id" name="practice_id" />
        [% site.html.submit %]
        [% site.html.reset %]
        </p>
    </form>
	
	<p class="indent">[% site.html.back_button %]</p>
<!-- END hmrn/data/edit_practice.tt  -->
