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
<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 <%= @lawyer.name %></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, "#{@lawyer.id}") %> |
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
<ul class='thumbnails' id='posts'> | |
<% @posts.each do |post| %> | |
<div id='post'> | |
<li class='span5'> | |
<div class='thumbnail'> | |
<%= image_tag post.picture_url, :width => '100%' if post.picture.present?%> | |
<h3><%= link_to post.title, post %></h3> | |
</div> |