Resources/public/js/editor/dist/step-editor.js
/**
   * Color in red when empty, in white when filled
   *
   * @param $input
   */
Color in red when empty, in white when filled
@param $input
Color in red when empty in white when filled @param $input
function color($input) {
    if ($input.val()) {
      $input.css({
        'border-color': '#cccccc',
        'background-color': '#ffffff'
      });
    } else {
      $input.css({
        'border-color': '#c9302c',
        'background-color': '#f3d9d9'
      });
    }
  }
function color ( $input ) { if ( $input . val ( ) ) { $input . css ( { 'border-color' : '#cccccc' , 'background-color' : '#ffffff' } ) ; } else { $input . css ( { 'border-color' : '#c9302c' , 'background-color' : '#f3d9d9' } ) ; } }
Color in red when empty, in white when filled
 @param $input
Color in red when empty in white when filled @param $input