ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Feb 8, 2009, 7:47:42 PM (14 years ago)
Author:
ogawa
Message:

#3615:fixed the Form parts not calling renderError() for widgets of sfWidgetFormChoice or opWidgetFormDate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsForm.php

    r10618 r10695  
    4040        echo '<tr>'."\n"
    4141           . '  <th>'.$field->renderLabel().'</th>'."\n"
    42            . '  <td><div id="'.$field->renderId().'">'.$field->render(array('class' => 'input_radio')).'</div></td>'."\n"
     42           . '  <td>'.$field->renderError().'<div id="'.$field->renderId().'">'.$field->render(array('class' => 'input_radio')).'</div></td>'."\n"
    4343           . '</tr>'."\n";
    4444        continue;
     
    4949      echo '<tr>'."\n"
    5050         . '  <th>'.$field->renderLabel().'</th>'."\n"
    51          . '  <td><div id="'.$field->renderId().'">'.$field->render().'</div></td>'."\n"
     51         . '  <td>'.$field->renderError().'<div id="'.$field->renderId().'">'.$field->render().'</div></td>'."\n"
    5252         . '</tr>'."\n";
    5353      continue;
Note: See TracChangeset for help on using the changeset viewer.