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>
|
</script>
|
||||||
|
|
||||||
<#list existingConcepts?keys as key>
|
<#list existingConcepts?keys as key>
|
||||||
<#local existingConcept = existingConcepts[key] />
|
<#assign existingConcept = existingConcepts[key] />
|
||||||
<li class="existingTerm">
|
<li class="existingTerm">
|
||||||
|
|
||||||
<span class="term">
|
<span class="term">
|
||||||
|
|
|
@ -79,19 +79,28 @@
|
||||||
<input type="submit" id="showAddFormButton" value="Add Author" role="button" />
|
<input type="submit" id="showAddFormButton" value="Add Author" role="button" />
|
||||||
|
|
||||||
<span class="or"> or </span>
|
<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>
|
</section>
|
||||||
|
|
||||||
<form id="addAuthorForm" action ="${submitUrl}" class="customForm">
|
<form id="addAuthorForm" action ="${submitUrl}" class="customForm">
|
||||||
<h3>Add an Author</h3>
|
<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>
|
<label for="lastName">Last name <span class='requiredHint'> *</span></label>
|
||||||
<input class="acSelector" size="35" type="text" id="lastName" name="lastName" value="" role="input" />
|
<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>
|
<label for="firstName">First name ${requiredHint} ${initialHint}</label>
|
||||||
<input size="20" type="text" id="firstName" name="firstName" value="" role="input" />
|
<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" />
|
<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 -->
|
<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) {
|
private void setPersonUriField(EditConfigurationVTwo editConfiguration) {
|
||||||
editConfiguration.addField(new FieldVTwo().
|
editConfiguration.addField(new FieldVTwo().
|
||||||
setName("personUri").
|
setName("personUri").
|
||||||
setValidators(list("")).
|
|
||||||
setObjectClassUri(personClass)
|
setObjectClassUri(personClass)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue