SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/views/video_playlist_settings.php

  1. <?php
  2. use Sprout\Helpers\Form;
  3. ?>
  4.  
  5. <?php
  6. Form::nextFieldDetails('Play-list URL', true);
  7. echo Form::text('playlist_id');
  8. ?>
  9.  
  10. <div class="field-group-wrap -clearfix">
  11. <div class="field-group-item col col--one-half">
  12. <?php
  13. Form::nextFieldDetails('Captions', true);
  14. echo Form::dropdown('captions', [], ['0' => 'No', '1' => 'Yes']);
  15. ?>
  16. </div>
  17. <div class="field-group-item col col--one-half">
  18. <?php
  19. Form::nextFieldDetails('Thumbnails per row', false);
  20. echo Form::dropdown('thumb_rows', [], $thumbs);
  21. ?>
  22. </div>
  23. </div>
  24.