added validation form builder (set as default form builder)#288
Open
added validation form builder (set as default form builder)#288
Conversation
217a0fc to
ca5a141
Compare
|
허허... 지저분하군요.(..)
코드만 잘 정리할 수 있다면, 평생 유용하게 써먹을 것 같습니다. 파팅파팅! ㅋ |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
음.. 되게 직관적이지 못한 함수 2개를 구현하였습니다 (..)
하나는
validation_inline_label라는 함수이고 다른 하나는validation_text_field라는 함수인데validation_inline_label은를 만들어주고
validation_text_field는 yield 부분에 적절히 text_field 를 삽입해줍니다.radio_button쓰는 녀석이나number_field,date_select를 넣어주는 건 일단 구현하지 않고 block 으로 넣어버렸습니다.코드 한 번 보시고 리뷰 부탁 드려요ㅠㅠ