Skip to content

Instantly share code, notes, and snippets.

@Munsio
Last active August 29, 2015 14:15
Show Gist options
  • Save Munsio/9567c0cd6f0ac663e96a to your computer and use it in GitHub Desktop.
Save Munsio/9567c0cd6f0ac663e96a to your computer and use it in GitHub Desktop.
This is an example of an MM-FrontendInput Template
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?> >
<form action="<?php echo $this->Form->action ?>" method="<?php echo $this->Form->method ?>" enctype="<?php echo $this->Form->enctype ?>" <?php echo $this->Form->novalidate; ?> class="" role="form">
<?php echo $this->Form->widgets['FORM_SUBMIT']->parse(); ?>
<?php echo $this->Form->widgets['REQUEST_TOKEN']->parse(); ?>
<!-- Parse single field -->
<?php echo $this->Form->widgets['COLUMN_NAME']->parse(); ?>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment