RailsCasts Pro episodes are now free!

Learn more or hide this

pancho9103's Profile

GitHub User: pancho9103

Comments by

Avatar

Hi everyone...

How can I change the required/not required property or a given field ... based on the value of another completely different field?

Avatar

Hi everyone.

I did this exaple and works great.

I just have one question.

In the next code, ¿how I can change the label for the button?

ruby
<%= link_to t('.edit', :default => t("helpers.links.edit")),
                            liquidacion, :class => 'btn btn-mini' %>

Regards.