updating authors to information resource and associated concept
This commit is contained in:
parent
022b5ebb2f
commit
6bcbca8552
3 changed files with 13 additions and 5 deletions
|
@ -39,7 +39,7 @@
|
|||
</script>
|
||||
|
||||
<#list existingConcepts?keys as key>
|
||||
<#local existingConcept = existingConcepts[key] />
|
||||
<#assign existingConcept = existingConcepts[key] />
|
||||
<li class="existingTerm">
|
||||
|
||||
<span class="term">
|
||||
|
|
|
@ -79,19 +79,28 @@
|
|||
<input type="submit" id="showAddFormButton" value="Add Author" role="button" />
|
||||
|
||||
<span class="or"> or </span>
|
||||
<a class="cancel" href="${cancelUrl}" title="Cancel">Return to Publication</a>
|
||||
<a class="cancel" href="${cancelUrl}&url=/individual" title="Cancel">Return to Publication</a>
|
||||
</section>
|
||||
|
||||
<form id="addAuthorForm" action ="${submitUrl}" class="customForm">
|
||||
<h3>Add an Author</h3>
|
||||
<#--These wrapper paragraph elements are important because javascript hides parent of these fields, since last name
|
||||
should be visible even when first name/middle name are not, the parents should be separate for each field-->
|
||||
<p class="inline">
|
||||
<label for="lastName">Last name <span class='requiredHint'> *</span></label>
|
||||
<input class="acSelector" size="35" type="text" id="lastName" name="lastName" value="" role="input" />
|
||||
|
||||
</p>
|
||||
|
||||
<p class="inline">
|
||||
<label for="firstName">First name ${requiredHint} ${initialHint}</label>
|
||||
<input size="20" type="text" id="firstName" name="firstName" value="" role="input" />
|
||||
</p>
|
||||
|
||||
|
||||
<label for="middleName">Middle name <span class='hint'>(initial okay)</span></label>
|
||||
<p class="inline">
|
||||
<label for="middleName">Middle name <span class='hint'>(initial okay)</span></label>
|
||||
<input size="20" type="text" id="middleName" name="middleName" value="" role="input" />
|
||||
</p>
|
||||
|
||||
<input type="hidden" id="label" name="label" value="" role="input" /> <!-- Field value populated by JavaScript -->
|
||||
|
||||
|
|
|
@ -277,7 +277,6 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
private void setPersonUriField(EditConfigurationVTwo editConfiguration) {
|
||||
editConfiguration.addField(new FieldVTwo().
|
||||
setName("personUri").
|
||||
setValidators(list("")).
|
||||
setObjectClassUri(personClass)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue