Much more elegant (y)


2014-03-22 2:26 GMT+02:00 Dionysis Zindros <notifications@github.com>:

> In views/migration/create.php:
>
> > +                }
> > +        ?></tbody>
> > +    </table><?php
> > +    $form = new Form( 'migrationrun', 'create' );
> > +    $form->output( function( $self ) use( $list ) {
> > +        $self->createSelect( 'env', [
> > +            [
> > +                'content' => 'development',
> > +                'value' => 'development'
> > +            ],
> > +            [
> > +                'content' => 'test',
> > +                'value' => 'test'
> > +            ]
> > +        ] );
> > +        $self->createSubmit( "Run Migrations that haven't been executed" );
>
> "Run pending migrations"?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/dionyziz/endofcodes/pull/147/files#r10859309>
> .
>