Last active
November 20, 2017 22:07
-
-
Save ornerymoose/0cd99cd10ee3a5175c79a405c9e701ff to your computer and use it in GitHub Desktop.
ok this worked in outages/show.html.erb. Had to add in @relationship = Relationship.new to the outage#new action.
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_for @relationship, :url => relationships_path do |f| %> | |
<%= f.text_field :child_id %> | |
<%= f.text_field :outage_id %> | |
<%= f.submit %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment