Skip to content

Instantly share code, notes, and snippets.

@bill-evanson
Created September 11, 2014 22:00
Show Gist options
  • Select an option

  • Save bill-evanson/aac7e49550c11b2a8028 to your computer and use it in GitHub Desktop.

Select an option

Save bill-evanson/aac7e49550c11b2a8028 to your computer and use it in GitHub Desktop.

Revisions

  1. bill-evanson created this gist Sep 11, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <%= form_for [:office, image], :action => 'update', :method => "PUT" do |f| %>
    <input type='hidden' name='id' value='<%= image.id %>'>
    <input type='hidden' name='listing_id' value='<%= listing.id %>'>
    <%= f.submit "Set Default", :class => 'btn btn-link' %>
    <% end %>