Difference between revisions of "Edit case"
From cm2.liecourt.com
(Created page with "{{#if:{{#urlget:id}}| {{#vardefine:allowed|{{#ifeq:{{#show:Workflow/{{#urldecode:{{#urlget:id}} }}|?Filed by}}|User:{{CURRENTLOGGEDUSER}}|yes}}{{#ifsysop:yes}} }} {{#if:{{#var...") |
(Fill database) |
||
Line 154: | Line 154: | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
− | |1=<h3> | + | |1=<h3>Name for case</h3> |
− | |2={{#tag:wsfield||type=text|class=form-control mt-2|name=Lie|placeholder= | + | |2={{#tag:wsfield||type=text|class=form-control mt-2|name=Lie|placeholder=Short phrase|value={{#explode:{{#var:@info}}|<PROP>|1}} }} |
}} | }} | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
− | |1=<h3>Lie | + | |1=<h3>Lie Category (optional)</h3> |
|2={{#tag:wsfield||type=text|class=form-control mt-2|name=Topic|value={{#explode:{{#var:@info}}|<PROP>|3}} }} | |2={{#tag:wsfield||type=text|class=form-control mt-2|name=Topic|value={{#explode:{{#var:@info}}|<PROP>|3}} }} | ||
}} | }} | ||
Line 165: | Line 165: | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
|1=<h3>The Lie and Context</h3> | |1=<h3>The Lie and Context</h3> | ||
− | |2={{#tag:wsfield|{{#explode:{{#var:@info}}|<PROP>|4}}|type=textarea|class=form-control mt-2|name=Description}} | + | |2={{#tag:wsfield|{{#explode:{{#var:@info}}|<PROP>|4}}|placeholder=The Lie and Context|type=textarea|class=form-control mt-2|name=Description}} |
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols={{#var:@cols|4-8}} | -->{{Item responsive |Cols={{#var:@cols|4-8}} | ||
|1=<h3>Accusation with Evidence</h3> | |1=<h3>Accusation with Evidence</h3> | ||
− | |2={{#tag:wsfield|{{#explode:{{#var:@info}}|<PROP>|6}}|type=textarea|class=form-control mt-2|name=Accusation}} | + | |2={{#tag:wsfield|{{#explode:{{#var:@info}}|<PROP>|6}}|placeholder=Text with links to evidence|type=textarea|class=form-control mt-2|name=Accusation}} |
}} | }} | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
− | |1=<h3>Markup <span class="red">Lie</span> and <span class="dark-blue"> | + | |1=<h3>Markup <span class="red">Lie</span> and any <span class="dark-blue">Truths</span></h3> |
|2=<wsfield type="button" class="btn btn-red btn-mark" onclick="document.execCommand('bold', false, null)">{{fa|highlighter}} Mark Lie</wsfield> | |2=<wsfield type="button" class="btn btn-red btn-mark" onclick="document.execCommand('bold', false, null)">{{fa|highlighter}} Mark Lie</wsfield> | ||
<wsfield type="button" class="btn btn-mark dark-blue" onclick="document.execCommand('italic', false, null)">{{fa|highlighter}} Mark Truth</wsfield><wsfield type="button" class="btn btn-gray btn-mark " onclick="unformat()">{{fa|highlighter}} Clear mark</wsfield> | <wsfield type="button" class="btn btn-mark dark-blue" onclick="document.execCommand('italic', false, null)">{{fa|highlighter}} Mark Truth</wsfield><wsfield type="button" class="btn btn-gray btn-mark " onclick="unformat()">{{fa|highlighter}} Clear mark</wsfield> | ||
Line 179: | Line 179: | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
− | |1=<h3>Lie | + | |1=<h3>Lie location</h3> |
|2={{#arraymap:{{#explode:{{#var:@info}}|<PROP>|5}}|,|@@@|{{#tag:wsfield||type=text|class=form-control mt-2|name=Locations[]|value=@@@ }}|}} | |2={{#arraymap:{{#explode:{{#var:@info}}|<PROP>|5}}|,|@@@|{{#tag:wsfield||type=text|class=form-control mt-2|name=Locations[]|value=@@@ }}|}} | ||
Line 188: | Line 188: | ||
<div class="d-none"> | <div class="d-none"> | ||
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
− | |1=<h3>Evidence | + | |1=<h3>Evidence screenshot</h3> |
|2=<div class="">{{#Widget:Multi upload|id={{#var:@id}} }}</div> | |2=<div class="">{{#Widget:Multi upload|id={{#var:@id}} }}</div> | ||
}}</div> | }}</div> |