Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

form_for_private_message

View gist:8364382
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<div class='well'>
<%= form_for @private_message, url: private_messages_user_path(@user) do |f| %>
<div class="control-group">
<%= f.label :receiver_uid %>
</div>
<div class="control-group">
<%= f.label :subject %>
<%= f.text_field :subject %>
</div>
<div class="control-group">
<%= f.label :body %>
<%= f.text_area :body, rows: 5 %>
</div>
<%= f.submit 'Send Message', class: 'btn btn-primary'%>
<%end%>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.