Sha256: 43a48c2868f032723184b68b6d9c708e586850c3632c23e8e19fad6b8ba2ed61

Contents?: true

Size: 227 Bytes

Versions: 20

Compression:

Stored size: 227 Bytes

Contents

<%= form_for(current_user.relationships.build(followed_id: @user.id),
             remote: true) do |f| %>
  <div><%= f.hidden_field :followed_id %></div>
  <%= f.submit "Follow", class: "btn btn-large btn-primary" %>
<% end %>

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rails_magic_renamer-2.0.0.pre.alpha spec/support/sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.4.2 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.4.1 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.3.2 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.3.1 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.3 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.4 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.3 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.11 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.10 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.9 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.8 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.7 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.6 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.5 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.4 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.3 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.2 sample_app_rails_4/app/views/users/_follow.html.erb
active_mocker-1.2.pre.1 sample_app_rails_4/app/views/users/_follow.html.erb