This file contains 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 characters
i = "foo" | |
for i in 1..5 do | |
puts i | |
j = "bar" | |
end | |
i # => 5 | |
j # => "bar" | |
i = "foo" | |
(1..5).each do |i| |
This file contains 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 characters
form_for([job_or_entity, unsolicited_or_job_application], :builder => FrontOfficeFormBuilder, :html => { :multipart => true }) do |f| | |
... | |
end | |
# => <form action="/entities/40598744/unsolicited_applications" class="new_unsolicited_application" enctype="multipart/form-data" id="new_unsolicited_application" method="post"> | |
# et je voudrais ajouter #apply à l'URL |
This file contains 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 characters
<?php | |
// lib/form/BaseForm.class.php | |
/** | |
* Base project form. | |
* | |
* @package peanut | |
* @subpackage form | |
* @author Alexandre 'pocky' BALMES | |
* @version SVN: $Id: BaseForm.class.php 20147 2009-07-13 11:46:57Z FabianLange $ |