Fixed the "Apply" button

Apply Button fixed (Line 22):
- used the same code like on index.html.erb template.
Merge pull request #7 from f1v3/patch-2

Fixed the "Apply" button