Sha256: 71c1251b070aaae52cbd85a45b03b2744607359a2f65c159ab8e495be24ebf05
Contents?: true
Size: 908 Bytes
Versions: 15
Compression:
Stored size: 908 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(:form => true, :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
15 entries across 15 versions & 2 rubygems