summaryrefslogtreecommitdiff
path: root/htroot/IndexSchema_p.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-02-20 10:48:07 +0100
committerluccioman <luccioman@users.noreply.github.com>2017-02-20 10:48:07 +0100
commitc68a8be2d910e2adf7e79b3632016295ec55cc32 (patch)
treed8f591ef85eb5ed2fcab52c71535db34a4800107 /htroot/IndexSchema_p.html
parente5858bc8c8d330b7d25eafd1d5328b48dfbb1618 (diff)
Refactored and enforced Solr mandatory fields for proper operation
- Added a new method to check activation of mandatory fields on Collection Configuration commit, consistently with checks previously performed in Switchboard startup and with mandatory fields in the default schema. - Reorganized default schema and CollectionConfiguration enumeration : moved no more mandatory fields in a specific section, and moved fields enabled at startup to the mandatory section. - Marked mandatory fields as required and with stronger font in the IndexSchema_p.html page
Diffstat (limited to 'htroot/IndexSchema_p.html')
-rw-r--r--htroot/IndexSchema_p.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/htroot/IndexSchema_p.html b/htroot/IndexSchema_p.html
index b47c920de..9a747bf3b 100644
--- a/htroot/IndexSchema_p.html
+++ b/htroot/IndexSchema_p.html
@@ -44,8 +44,8 @@
</tr>
#{schema}#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
- <td align="center"><input type="checkbox" name="schema_#[key]#" value="checked" #(checked)#::checked="checked"#(/checked)#/></td>
- <td align="left">#[key]#</td>
+ <td align="center"><input type="checkbox" id="schema_#[key]#" name="schema_#[key]#" value="checked" #(checked)#::checked="checked"#(/checked)# #(required)#::required="required"#(/required)#/></td>
+ <td align="left"><label for="schema_#[key]#">#(required)#::<strong>#(/required)##[key]##(required)#::</strong>#(/required)#</label></td>
<td align="left"><input type="text" name="schema_solrfieldname_#[key]#" value="#[solrfieldname]#"/></td>
<td align="left">#[comment]#</td>
</tr>