Created
May 22, 2018 16:33
-
-
Save CodePint/d39db8916e15ede3eea018c338f794f9 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
<%= form_tag(@gym, url: { action: "change_gym_status" }, method: 'put' do |f| %> | |
<div class="field"> | |
<%= f.label :active_status %><br /> | |
<%= f.check_box :active %> | |
</div> | |
<div class="actions"> | |
<%= f.submit "submit" %> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/home/rouget430/Documents/dev_portfolio/sendroute/app/views/admin/gym.html.erb:13: syntax error, unexpected keyword_do, expecting ')' m_status" }, method: 'put' do |f| @output_buffer.safe_appen ^ /home/rouget430/Documents/dev_portfolio/sendroute/app/views/admin/gym.html.erb:24: syntax error, unexpected keyword_ensure, expecting end-of-input ensure ^