amalgame/commit
put input_item//3 in the amalgame: module name space
author | Jacco van Ossenbruggen |
---|---|
Mon Aug 18 09:34:59 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Mon Aug 18 09:34:59 2014 +0200 | |
commit | cb9f053059c97e006ead5acfaaaf3988ac43e007 |
tree | 7b530a7a20e265c64b7afd5b6b83b28b743905c0 |
parent | e6f13682b7e55584e25f1a2ff436185711f5d029 |
Diff style: patch stat
diff --git a/components/amalgame/util.pl b/components/amalgame/util.pl index e69c18a..73022fd 100644 --- a/components/amalgame/util.pl +++ b/components/amalgame/util.pl @@ -85,10 +85,10 @@ html_parameter_form([parameter(Name, Type, Default, Desc)|Ps]) --> % Emit an form-field for Value. :- multifile - input_item/5. % input_item(+Type, +Value, +Name)// + amalgame:input_item//3. % input_item(+Type, +Value, +Name)// input_value(Type, Value, Name) --> - ( input_item(Type, Value, Name) + ( amalgame:input_item(Type, Value, Name) -> [] ; builtin_input_item(Type, Value, Name) ).