PHP Classes

File: views/templates/simple-form.tpl

Recommend this page to a friend!
  Classes of Ali Sharifi  >  MVC 4 Dummies  >  views/templates/simple-form.tpl  >  Download  
File: views/templates/simple-form.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MVC 4 Dummies
Web development PHP MVC framework
Author: By
Last change:
Date: 7 years ago
Size: 545 bytes
 

Contents

Class file image Download
{extends file="layout.tpl"}
{block name=title}MVC 4 Dummies{/block}
{block name="head"}
  <script>    
        $(function(){
            //
        });
   </script>
{/block}
{block name=main}
    <div style="text-align: center">
        <form action="simple-form" method="post">
            <input type="text" name="foo" placeholder="write something"/>
            <br/>
            <input type="submit"/>
            <hr/>
            {if isset($inputPosted)}
                {$inputPosted}
            {/if}
        </form>
    </div>
{/block}
For more information send a message to info at phpclasses dot org.