Created
January 6, 2015 17:47
-
-
Save glinesbdev/1dbf85dec77b29056a4e to your computer and use it in GitHub Desktop.
Custom Field Working Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="control-group integer required {% if form.errors contains 'financials' %}error{% endif %}"> | |
<label class="integer required control-label" for="project_financials"><abbr title="required">*</abbr> Financials</label> | |
<div class="controls input-prepend"> | |
<textarea class="numeric integer required input-medium tinymce" id="project_financials" name="project[custom_attributes][financials]" step="1" {% if disabled %}disabled{% endif %}>{{ project.financials }}</textarea> | |
{% if form.errors contains 'financials' %}<p class="help-inline">{{ form.error_messages['financials'] }}</p>{% endif %} | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment