Sha256: 599457414ee90f6a8306a2b0790c3dc0ac103f2b7942e3bd21e4b0969200618f

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

<% content_for :headers do %>
  <%= stylesheet_link_tag "fcbkComplete.css", :media => "screen, projection" %>
  <%= javascript_include_tag 'jquery.fcbkcomplete.min','jquery.validate' %>
<% end %>

<% content_for :javascript do %>
	$("#_recipients").fcbkcomplete({
		json_url: "../../contacts/index.json",
		cache: true,
		filter_case: true,
		filter_hide: true,
		newel: false,
		height: 6
	});
<% end %>
<h1>New Message</h1>
<hr>
<%= form_tag mailbox_conversation_index_path, :method => :post do %>
<% if @conversation and @conversation.errors.any? %>
<div id="notice">
	<h2><%= pluralize(@conversation.errors.count, "error") %> prohibited this message from being sent:</h2>
	<ul>
		<% @conversation.errors.full_messages.each do |msg| %>
		<li>
			<%= msg %>
		</li>
		<% end %>
	</ul>
</div>
<% end %>
<div class="block">
	  <div class="form_row">
      <%= label_tag :recipients %>
		</div>
	  <div class="form_row">
      <%= select_tag :_recipients, "", :class => "form_tag" %>
  </div>
	<div class="form_row">
		<%= label_tag :subject %>
	</div>
	<div class="form_row">
		<%= text_field_tag :subject,nil, :class => "required form_tag" %>
	</div>
	<div class="form_row">
		<%= label_tag :body %>
	</div>
	<div class="form_row">
		<%= text_area_tag :body, nil,:rows =>6, :cols=> 53, :class => "required form_tag" %>
	</div>
	<div class="actions center">
		<%= submit_tag "Send Message", :name => :send_message,:class => "button" %>
	</div>
</div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-0.4.0 app/views/mailbox/conversation/_form.html.erb