Created
September 17, 2016 09:29
-
-
Save andreas-it-dev/a06e30f90fe4dd08a3ab9bd99d822277 to your computer and use it in GitHub Desktop.
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
config.action_view.field_error_proc = Proc.new { |html_tag, instance| | |
"<div class='field error'>#{html_tag}</div>".html_safe | |
} |
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="field"> | |
<div class="ui radio checkbox checked"> | |
<div class="field error"> | |
<label for="analysis_daily_maturity">Beginning</label> | |
</div> | |
<div class="field error"> | |
<input type="radio" value="0" name="analysis[daily_maturity]" id="analysis_daily_maturity_0"> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment