Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<div class="row-fluid">
<div class="services_pro col-md-6 col-md-offset-1 ">
<div class="well well large">
<p><h3>Envia un mensaje a <%= %></h3></p>
<p><%= form_tag({controller: "messages", action: "create"}, method: :post) do %></p>
<%= label_tag :Asunto %>
<p><%= text_field_tag :subject %></p>
<%= label :body, "Mensaje" %>
<p><%= text_area_tag :body %></p>
<%= hidden_field_tag(:lawyer, "#{}") %>
<%= submit_tag 'Enviar Mensaje', class: "btn btn-primary" %>
<% end %>

This comment has been minimized.

Copy link

@jtansley jtansley commented May 14, 2015

Is this /app/views/messages/new.html.erb?


This comment has been minimized.

Copy link
Owner Author

@marcfuentes marcfuentes commented May 14, 2015

No, is not the same structure as your example, I put this code in /app/views/lawyers/message.html.erb
heres the full repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.