{** * plugins/generic/referral/referralForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Referral form. * *} {strip} {assign var="pageCrumbTitle" value="$referralTitle"} {if $referralId} {assign var="pageTitle" value="plugins.generic.referral.editReferral"} {else} {assign var="pageTitle" value="plugins.generic.referral.createReferral"} {/if} {include file="common/header.tpl"} {/strip}
{if $referralId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $referralId}{url|assign:"referralUrl" op="editReferral" path=$referralId escape=false} {else}{url|assign:"referralUrl" op="createReferral"} {/if} {form_language_chooser form="referral" url=$referralUrl} {translate key="form.formLanguage.description"}
{translate key="article.article"} getBestArticleId()}">{$article->getLocalizedTitle()|strip_unsafe_html}
{fieldLabel name="name" required="true" key="common.title"}
{fieldLabel name="url" required="true" key="common.url"}
{fieldLabel name="status" key="common.status"}

{if not $referralId} {/if}

{translate key="common.requiredField"}

{include file="common/footer.tpl"}