-
-
Save petrachi/e09e22ea6dcd85be7f82 to your computer and use it in GitHub Desktop.
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
class App::Outils::FormationController < App::Outils::ApplicationController | |
# ... | |
def load_results | |
sujet = Metasujet.find(params[:cat].to_i) | |
@formation = Packvideomembre.where(:membre_id => current_membre, :metasujet_id => sujet).first | |
@formation = PackvideomembreDecorator.new(@formation, view_context) | |
render :partial => "app/outils/formation/index/details_wrapper", :locals => {:type => params[:type]} | |
end | |
# ... | |
end |
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
<div class="v-box sujet-overview"> | |
<%= @formation.sujet_infos %> | |
<%= @formation.progress %> | |
<%= @formation.action_links %> | |
<%= @formation.statistics %> | |
<%= @formation.membre_notes %> | |
<%= @formation.archive %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment