[RSS Feed/News] Add disabled="true" to xf:select only if $noEdit = true

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm wondering if there is any way to do what I'm wanting to do here:

Code:

<xf:select label="Player" name="player_id" value="{$player.player_id}"{{ $noEdit ? ' disabled="true"' : '' }}>

Basically I want this select field to be disabled if $noEdit = true. I still want it to show, but just be disabled.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom