-
-
Save anonymous/742e44123b93d1e081a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> | |
<!-- Song Name --> | |
<div class="form-group"> | |
<?php echo $form->label('songName', t('Song Name'));?> | |
<?php print $form->text('songName', $songName)?> | |
</div> | |
<!-- Album Name --> | |
<div class="form-group"> | |
<?php echo $form->label('albumName', t('Album Name'));?> | |
<?php print $form->text('albumName', $albumName)?> | |
</div> | |
<!-- Song Notes --> | |
<div class="form-group"> | |
<?php echo $form->label('songNotes', t('Song Notes')) ?> | |
<?php print $form->textarea('songNotes', $songNotes, array('rows' => 5))?> | |
</div> | |
<!-- Embed Code --> | |
<div class="form-group"> | |
<?php echo $form->label('embedCode', t('SoundCloud Embed Code')) ?> | |
<?php print $form->textarea('embedCode', $embedCode, array('rows' => 8))?> | |
</div> | |
<!-- Test Stuff --> | |
<!-- Test Date Picker 5.6 version --> | |
<!-- the date function gives you a picker for just the date ->date() --> | |
<!-- the datetime function gives you a picker for the date and time ->datetime() --> | |
<!-- <div class="form-group"> | |
<?php //echo $form->label('tourDate', t('Tour Date')) ?> | |
<?php //echo Loader::helper('form/date_time')->date('tourDate', $tourDate); ?> | |
<?php //echo Loader::helper('form/date_time')->datetime('tourDate', $tourDate); ?> | |
</div> --> | |
<!-- Test Date Picker 5.7 version --> | |
<div class="form-group"> | |
<?php //echo $form->label('tourDate', t('Tour Date')) ?> | |
<!-- the date function gives you a picker for just the date ->date() --> | |
<?php echo Core::make('helper/form/date_time')->date('tourDate', $tourDate); ?> | |
<!-- the datetime function gives you a picker for the date and time ->datetime() --> | |
<?php //echo Core::make('helper/form/date_time')->datetime('tourDate', $tourDate); ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment