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-1.1.12 base/app/views/messages/new.html.erb
social_stream-base-1.1.11 app/views/messages/new.html.erb
social_stream-1.1.11 base/app/views/messages/new.html.erb
social_stream-base-1.1.10 app/views/messages/new.html.erb
social_stream-1.1.10 base/app/views/messages/new.html.erb
social_stream-base-1.1.9 app/views/messages/new.html.erb
social_stream-1.1.9 base/app/views/messages/new.html.erb
social_stream-base-1.1.8 app/views/messages/new.html.erb
social_stream-1.1.8 base/app/views/messages/new.html.erb
social_stream-base-1.1.7 app/views/messages/new.html.erb
social_stream-1.1.7 base/app/views/messages/new.html.erb
social_stream-base-1.1.6 app/views/messages/new.html.erb
social_stream-1.1.6 base/app/views/messages/new.html.erb
social_stream-base-1.1.5 app/views/messages/new.html.erb
social_stream-1.1.5 base/app/views/messages/new.html.erb
social_stream-base-1.1.4 app/views/messages/new.html.erb
social_stream-1.1.4 base/app/views/messages/new.html.erb
social_stream-1.1.3 base/app/views/messages/new.html.erb
social_stream-base-1.1.3 app/views/messages/new.html.erb
social_stream-1.1.2 base/app/views/messages/new.html.erb