1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/editions/resumebuilder/tiddlers/input/$__input_ObjectiveInput2.tid
inmysocks 8bb0a9b7c8 Moved files to be keep consistent organization
Also remembered to add tiddlywiki.info, that is important.
2015-07-18 00:23:51 -06:00

31 lines
1.0 KiB
Plaintext

caption: Objective
tags: Section
title: $:/input/ObjectiveInput2
\define thisAddObjectiveButton()
<$button>Add Objective<$action-setfield $tiddler='$:/temp/Objective' title='$:/data/Objective/$(ObjectiveName)$'/><$action-setfield $tiddler='$:/temp/Objective' name='' text=''/></$button>
\end
\define thisSelectObjective()
<$radio tiddler='$:/settings/$(ThisResume)$/Objective' value={{!!name}}/>
\end
Name:
<$edit-text tiddler='$:/temp/Objective' field=name class='tc-edit-texteditor' placeholder='Short Name'/>
Objective:
<$edit-text tiddler='$:/temp/Objective' class='tc-edit-texteditor' placeholder='Objective'/>
<$vars ThisResume={{$:/settings/Global!!selected_resume}} ObjectiveName={{$:/temp/Objective!!name}}>
<<thisAddObjectiveButton>>
<br>
Select objective to use:
<table>
<tr><th>Select</th><th>Objective Name</th><th>Objective</th></tr>
<$list filter='[prefix[$:/data/Objective/]]'>
<tr><td><<thisSelectObjective>></td><td><$view field='name'/></td><td><$view field='text'/></td></tr>
</$list>
</table>
</$vars>