Created
June 22, 2015 01:51
Revisions
-
Vinicius Osiro created this gist
Jun 22, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ - if policy(@entry).amend? = f.input :amendment_notes, hint: "Write an explanation of amendments here. This will be emailed to the timesheet's owner and submitter." = f.input :parking_allowance, as: :boolean, wrapper: :checkbox, input_html: { checked: @entry.parking_allowance_claim.present? } = link_to_back(user_timesheet_path(user, @entry.timesheet)) = f.button :submit, "Update"