Skip to content

Commit

Permalink
added support for url query parameters plus hidden inputs, as for met…
Browse files Browse the repository at this point in the history
  • Loading branch information
splendido committed Oct 31, 2014
1 parent 7fcfd56 commit 3a7c893
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/at_input.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@
{{/each}}
</div>
</template>

<template name="atHiddenInput">
<input type="hidden" id="at-field-{{_id}}" name="at-field-{{_id}}">
</template>
7 changes: 6 additions & 1 deletion lib/at_input.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Template.atInput.rendered = AccountsTemplates.atInputRendered;

// Simply 'inherites' helpers from AccountsTemplates
Template.atInput.helpers(AccountsTemplates.atInputHelpers);

Expand All @@ -14,4 +16,7 @@ Template.atCheckboxInput.helpers(AccountsTemplates.atInputHelpers);
Template.atSelectInput.helpers(AccountsTemplates.atInputHelpers);

// Simply 'inherites' helpers from AccountsTemplates
Template.atRadioInput.helpers(AccountsTemplates.atInputHelpers);
Template.atRadioInput.helpers(AccountsTemplates.atInputHelpers);

// Simply 'inherites' helpers from AccountsTemplates
Template.atHiddenInput.helpers(AccountsTemplates.atInputHelpers);

0 comments on commit 3a7c893

Please sign in to comment.