Jump to content

HTML wird nicht richtig angezeigt


Recommended Posts

        {block name='form_field_item_checkbox'}
          <span class="custom-checkbox">
            <label>
              <input name="{$field.name}" type="checkbox" value="1" {if $field.value}checked="checked"{/if} {if $field.required}required{/if}>
              <span><i class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
              {$field.label nofilter}
            </label>
          </span>
        {/block}

 

Einfach in {$field.label nofilter} -> {$field.label|unescape:"html" nofilter} hinzufügen.

https://stackoverflow.com/questions/16449583/show-a-smarty-variable-with-html-content

Edited by PagoYago (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...