/templates/type/author/input.tmpl
Type: /type/template
body: value: $def with (author, property)

$ name = property.name

$ _t = i18n.get_namespace('/type/edition')

$add_stylesheet("/css/freebase-controls.css?format=raw")
$add_javascript("/static/js/jquery/freebase.suggest.js")
$add_javascript("/js/autocomplete.js?format=raw")

<input onfocus="setup_freebase_suggest(this)" id="name_$name" type="text" name="_name_$name" value="$author.name" style="width: 100%" ac_name="$name" freebase_suggest="true"/>
<input id="key_$name" type="hidden" name="${name}.key" value="$author.key"/>
<input id="saved_name_$name" type="hidden" name="_saved_name_$name" value="$author.name"/>

<div class="fberror" style="display: none;">
    <div>$_t.author_dropdown</div><br/>
    <span id="hideerror"></span>
</div>
title: Input template for /type/author