Skip to content

Instantly share code, notes, and snippets.

@CodePint
Created May 22, 2018 16:33
Show Gist options
  • Save CodePint/d39db8916e15ede3eea018c338f794f9 to your computer and use it in GitHub Desktop.
Save CodePint/d39db8916e15ede3eea018c338f794f9 to your computer and use it in GitHub Desktop.
<%= 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 %>
@CodePint
Copy link
Author

/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 ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment