protected function render_row_html() {
		$display_class = $this->display() ? '' : ' papi-hide';
		$rules_class   = papi_is_empty( $this->get_rules() ) ? '' : ' papi-rules-exists';
		$css_class     = trim( $display_class . $rules_class );
		$css_class    .= sprintf( ' papi-layout-%s', $this->get_option( 'layout' ) );

		if ( $this->get_option( 'raw' ) ) {
			echo sprintf( '<div class="%s">', esc_attr( $css_class ) );
			$this->render_property_html();
			$this->render_hidden_html();
			$this->render_rules_json();
			echo '</div>';
		} else {
			?>
			<tr class="<?php echo esc_attr( $css_class ); ?>">
				<?php if ( $this->get_option( 'sidebar' ) && $this->get_option( 'layout' ) === 'horizontal' ): ?>
					<td class="papi-table-sidebar">
						<?php
							$this->render_label_html();
							$this->render_description_html();
						?>
					</td>
				<?php endif; ?>
				<td <?php echo $this->get_option( 'sidebar' ) && $this->get_option( 'layout' ) === 'horizontal' ? '' : 'colspan="2"'; ?>>
					<?php
					// Render vertical layout where title and description is above the property.
					if ( $this->get_option( 'layout' ) === 'vertical' && $this->get_option( 'sidebar' ) ) {
						$this->render_label_html();
						$this->render_description_html();
					}

					$this->render_property_html();
					$this->render_hidden_html();
					$this->render_rules_json();
					?>
				</td>
			</tr>
			<?php
		}
	}