You are here

jquery-colorpicker.html.twig in Jquery Colorpicker 8

Same filename and directory in other branches
  1. 8.2 templates/jquery-colorpicker.html.twig
<div class="jquery_colorpicker">
	<div id="{{ id }}-inner_wrapper" class="inner_wrapper">
		<div class="color_picker" style="background-color:{{ default_color }};">
			<span class="hash">#</span><input{{ attributes }} />{{ children }}
			<div class="description">{{ 'Enter a hexidecimal color value. Enabling javascript will replace this input with a graphical color selector'|t }}</div>
		</div>
	</div>
	{% if show_remove %}
		<div>
			<a href="#" class="jquery_field_remove_link">{{ 'Remove'|t }}</a>
		</div>
	{% endif %}
	{% if show_clear %}
		<div>
			<a href="#" class="jquery_field_clear_link">{{ 'Clear'|t }}</a>
		</div>
	{% endif %}
</div>

File

templates/jquery-colorpicker.html.twig
View source
  1. <div class="jquery_colorpicker">
  2. <div id="{{ id }}-inner_wrapper" class="inner_wrapper">
  3. <div class="color_picker" style="background-color:{{ default_color }};">
  4. <span class="hash">#</span><input{{ attributes }} />{{ children }}
  5. <div class="description">{{ 'Enter a hexidecimal color value. Enabling javascript will replace this input with a graphical color selector'|t }}</div>
  6. </div>
  7. </div>
  8. {% if show_remove %}
  9. <div>
  10. <a href="#" class="jquery_field_remove_link">{{ 'Remove'|t }}</a>
  11. </div>
  12. {% endif %}
  13. {% if show_clear %}
  14. <div>
  15. <a href="#" class="jquery_field_clear_link">{{ 'Clear'|t }}</a>
  16. </div>
  17. {% endif %}
  18. </div>