How to show information aftr click task edit

Hi all, my promlem My form create account(create.volt)

            <div class="clearfix">
                <label for="username">Username</label>
                    {{ form.render('username') }}
            </div>
            <div class="clearfix">
                <label for="profilesId">Profile</label>
                {{ form.render("profilesId") }}
            </div>

            <div class="clearfix">
                <label for="suspended">Suspended?</label>
                {{ form.render("suspended") }}
            </div>

after create account, I want to edit information (edit.volt)

                <label for="username">Username</label>
                {{ form.render('username') }}//<input type="text" value="" id="username" name="username">
            ------

How to display value ="Myacount", value not empty

https://github.com/phalcon/vokuro/blob/master/app/views/users/edit.volt

  {{ form.render("name") }} <input type="text" value="abc" id="username" name="username">


37.9k
edited Apr '14

Hi all I slove problem above: if field username in table account identical , ike application vokuro https://github.com/phalcon/vokuro/blob/master/app/forms/UsersForm.php

$this->add(new Text('email'))(UsersForm.php) , when edit.volt
{{ form.render("email") }}//<input type="text" value="value email" id="email" name=" email"> 

if value email exits in table account,but set option $this->add(new Text('Email')) in UserForm.php

->{{ form.render("email") }}///<input type="text" value="" id="Email" name="Emaill"> ? Why