Sha256: 7a94f9bb7f496b16c3888abe0bc5333e49ef455e6f27876645611f3f57c1af3e
Contents?: true
Size: 893 Bytes
Versions: 7
Compression:
Stored size: 893 Bytes
Contents
<% content_for :title do %> <%=t('message.other')%> <% end %> <% content_for :sidebar do %> <%= render :partial => 'home/sidebar' %> <% end %> <% toolbar :option => :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(:format => :json) %>", cache: true, filter_hide: true, newel: false, height: 6 }); $("#body").cleditor({ width:493, controls: "<%= t('cleditor.controls')%>" }); <% unless @recipient.nil? %> $("#_recipients").trigger("addItem",[{"title": "<%= truncate_name @recipient.name %>", "value": "<%= @recipient.id %>"}]); <% end %> $(".new_message").validate(); <% end %> <%= render :partial => 'new' %>
Version data entries
7 entries across 7 versions & 2 rubygems