dchun / QuoteManager

Saas App for Managing Quotes and getting paid
https://quotemanager.boopis.com
0 stars 0 forks source link

Form Options Not Defined #31

Closed dchun closed 9 years ago

dchun commented 9 years ago

When a form is created with fields with options like "select" and options are not selected, going back and editing the page leads to an error. The line:

<% if defined? options %>

to catch errors is not working properly.

We need to either fix it or add a validation that fields with options need to be filled in with at least one option.

phuong3030 commented 9 years ago

https://github.com/boopis/QuoteManager/pull/36 check empty option