diff --git a/app/views/public/m_odrs/show.html.haml b/app/views/public/m_odrs/show.html.haml index 0b61509..6daa9a6 100644 --- a/app/views/public/m_odrs/show.html.haml +++ b/app/views/public/m_odrs/show.html.haml @@ -1,7 +1,7 @@ --if @m_odr.start_at > Date.today and !params[:force] +-if @m_odr.start_at > Date.today and params[:force].to_s == "" %div{:style => "margin-top:30px;font-weight:bold;font-weight:800;font-size:2em;text-transform:uppercase;font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;text-align:center;"} -count = ((@m_odr.start_at) - (Date.today)) @@ -57,7 +57,7 @@ #odr_form =semantic_form_for [:public, @m_odr_rep], html: { multipart: true } , :remote => false do |f| =f.hidden_field :m_odr_id - + =hidden_field_tag :force, params[:force] =f.hidden_field :t .form_pannel