Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit interval number don't work #74

Open
kairel opened this issue Nov 7, 2017 · 4 comments
Open

Edit interval number don't work #74

kairel opened this issue Nov 7, 2017 · 4 comments

Comments

@kairel
Copy link

kairel commented Nov 7, 2017

hi,

I try to update a value to this field it don't work , the value stay to 1.
When i look up the file _form.html.erb , i see it's normal

<%= label(:periodictask, :interval_number, l(:label_interval)) %><%= f.number_field :interval_number, :value => 1, :required => true, :min => 1 %> <%= select 'periodictask', 'interval_units', Periodictask::INTERVAL_UNITS %>

i've changed it to

<%= label(:periodictask, :interval_number, l(:label_interval)) %><%= f.number_field :interval_number, :value => @periodictask.interval_number||=, :required => true, :min => 1 %> <%= select 'periodictask', 'interval_units', Periodictask::INTERVAL_UNITS %>

Repo is forked her:
coreye@d49dd5d

and the correction is done .

Thanks

@jperelli
Copy link
Owner

jperelli commented Nov 7, 2017

Thanks! could you create a pull request?

@kairel
Copy link
Author

kairel commented Nov 8, 2017

Hi ,

I'm not able to create a PR , it create the PR in the myneid repo ...

Michael

@jperelli
Copy link
Owner

jperelli commented Nov 9, 2017

Ok, I'll do it no problem, Thanks for the help!

@sevenval-admins
Copy link

any news on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants