standardized capitalization on submit buttons
This commit is contained in:
parent
f436ef194e
commit
0909c97b36
4 changed files with 10 additions and 10 deletions
|
@ -119,10 +119,10 @@
|
|||
Model model = (Model)application.getAttribute("jenaOntModel");
|
||||
editConfig.prepareForDataPropUpdate(model,dps);
|
||||
formTitle = "Change text for: <em>"+prop.getPublicName()+"</em>";
|
||||
submitLabel = "save change";
|
||||
submitLabel = "Save change";
|
||||
} else {
|
||||
formTitle = "Add new entry for: <em>"+prop.getPublicName()+"</em>";
|
||||
submitLabel = "save entry";
|
||||
submitLabel = "Save entry";
|
||||
}
|
||||
%>
|
||||
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
if ( prop.getOfferCreateNewOption() ) {
|
||||
log.debug("property set to offer \"create new\" option; custom form: ["+prop.getCustomEntryForm()+"]");
|
||||
formTitle = "Select an existing "+rangeClass.getName()+" for "+subject.getName();
|
||||
submitLabel = "select existing";
|
||||
submitLabel = "Select existing";
|
||||
} else {
|
||||
formTitle = "Add an entry to: <em>"+prop.getDomainPublic()+"</em>";
|
||||
submitLabel = "save entry";
|
||||
submitLabel = "Save entry";
|
||||
}
|
||||
}
|
||||
%>
|
||||
|
@ -174,7 +174,7 @@ $(document).ready(function() {
|
|||
<v:input type="submit" id="submit" value="<%=submitLabel%>" cancel="true"/>
|
||||
<c:if test="${predicate.offerCreateNewOption == true}">
|
||||
<p>If you don't find the appropriate entry on the selection list,
|
||||
<button type="button" onclick="javascript:document.location.href='${createNewUrl}'">add a new item to this list</button>
|
||||
<button type="button" onclick="javascript:document.location.href='${createNewUrl}'">Add a new item to this list</button>
|
||||
</p>
|
||||
</c:if>
|
||||
</form>
|
||||
|
|
|
@ -137,10 +137,10 @@
|
|||
Model model = (Model)application.getAttribute("jenaOntModel");
|
||||
editConfig.prepareForDataPropUpdate(model,dps);
|
||||
formTitle = "Change text for: <em>"+prop.getPublicName()+"</em>";
|
||||
submitLabel = "save change";
|
||||
submitLabel = "Save change";
|
||||
} else {
|
||||
formTitle ="Add new entry for: <em>"+prop.getPublicName()+"</em>";
|
||||
submitLabel ="save entry";
|
||||
submitLabel ="Save entry";
|
||||
}
|
||||
%>
|
||||
|
||||
|
|
|
@ -128,10 +128,10 @@
|
|||
|
||||
log.debug("property set to offer \"create new\" option; custom form: ["+prop.getCustomEntryForm()+"]");
|
||||
formTitle = "Select an existing "+classOfObjectFillers.getName()+" for "+subject.getName();
|
||||
submitLabel = "select existing";
|
||||
submitLabel = "Select existing";
|
||||
} else {
|
||||
formTitle = "Add an entry to: <em>"+prop.getDomainPublic()+"</em>";
|
||||
submitLabel = "save entry";
|
||||
submitLabel = "Save entry";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -193,7 +193,7 @@
|
|||
<input type="hidden" value="${param.objectUri}" name="objectUri"/>
|
||||
<input type="hidden" value="create" name="cmd"/>
|
||||
<v:input type="typesForCreateNew" id="typeOfNew" />
|
||||
<v:input type="submit" id="submit" value="add a new item of this type" cancel="${offerCancel}"/>
|
||||
<v:input type="submit" id="submit" value="Add a new item of this type" cancel="${offerCancel}"/>
|
||||
</form>
|
||||
</c:if>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue