Skip to content

Commit

Permalink
agregar pagina de acciones individuales /action/show
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjcsr committed Mar 19, 2014
1 parent 15ed73c commit 7629389
Showing 1 changed file with 14 additions and 23 deletions.
37 changes: 14 additions & 23 deletions app/views/actions/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

- if user_signed_in?
= render 'shared/sidebar'

#page-wrapper
.page-content
Expand All @@ -7,29 +9,18 @@
.page-title
%h1
=@action.name


#main-wrapper
.container
.row
.8u.skel-cell-important
#content
%article.last
%h2
= @action.name
%p
Aquí va un resumen de esta accion saludable
%h3
Descripción
%p
= @action.desc
- if [email protected] && !current_user.nil?
%h3
Pasos para completar
%progress#barbar{value: 30, max: 100}
.4u
#sidebar
= render 'shared/action_submit_form', locals: {action: @action}
.col-lg-6
%h3
Descripción de la acción
%p
= @action.desc
- if [email protected] && !current_user.nil?
%h3
Pasos para completar
%progress#barbar{value: 30, max: 100}
.col-lg-6
= render 'shared/action_submit_form', locals: {action: @action}

=debug(@action) if Rails.env.development?
=debug(@action) if Rails.env.development?

0 comments on commit 7629389

Please sign in to comment.