Sha256: 8ae0970e256001a3e54c330cee8bdee13ceaa297383dbc0d3ec5b939fa2311c9

Contents?: true

Size: 870 Bytes

Versions: 64

Compression:

Stored size: 870 Bytes

Contents

<% content_for :title do %>
  <%=t('message.other')%>
<% end %>

<% sidebar %>

<% toolbar :messages %>

<%= location(
  link_to(t('message.other'), conversations_path,:remote => true),
  link_to(t('message.new'), new_message_path, :remote => true)
) %>

<% content_for :javascript do %>

	var recipients = $("#_recipients").fcbkcomplete({
                json_url: "<%= contacts_path(:form => true, :format => :json) %>",
		cache: true,
		filter_hide: true,
		newel: false,
		height: 6
	});	
	
	$("#body").cleditor({
	  width:493,
	  controls:  "<%= SocialStream.cleditor_controls %>"   
	});

	<% unless @recipient.nil? %>
		$("#_recipients").trigger("addItem",[{"title": "<%= truncate_name @recipient.name %>", "value": "<%= @recipient.id %>"}]);
	<% end %>

  $(".new_message").validate({errorClass: "validation_error"});

<% end %>

<%= render :partial => 'new' %>

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
social_stream-base-0.22.0 app/views/messages/new.html.erb
social_stream-0.27.3 base/app/views/messages/new.html.erb
social_stream-0.27.2 base/app/views/messages/new.html.erb
social_stream-base-0.21.2 app/views/messages/new.html.erb
social_stream-0.27.1 base/app/views/messages/new.html.erb
social_stream-base-0.21.1 app/views/messages/new.html.erb
social_stream-0.27.0 base/app/views/messages/new.html.erb
social_stream-base-0.21.0 app/views/messages/new.html.erb
social_stream-0.26.2 base/app/views/messages/new.html.erb
social_stream-base-0.20.2 app/views/messages/new.html.erb
social_stream-0.26.1 base/app/views/messages/new.html.erb
social_stream-base-0.20.1 app/views/messages/new.html.erb
social_stream-0.26.0 base/app/views/messages/new.html.erb
social_stream-base-0.20.0 app/views/messages/new.html.erb
social_stream-0.25.2 base/app/views/messages/new.html.erb
social_stream-base-0.19.2 app/views/messages/new.html.erb
social_stream-0.25.1 base/app/views/messages/new.html.erb
social_stream-base-0.19.1 app/views/messages/new.html.erb
social_stream-0.25.0 base/app/views/messages/new.html.erb
social_stream-base-0.19.0 app/views/messages/new.html.erb