Sha256: c54ff7672c232cae6d4db9d689b50e6491a53a6fcb66dab606339575fc0224e8

Contents?: true

Size: 683 Bytes

Versions: 22

Compression:

Stored size: 683 Bytes

Contents

<%= form_for @room || Room.new(:actor => current_subject.actor), :remote => true do |f| %>
  <%= f.hidden_field :actor_id %>

  <% if f.object.errors.any? %>
    <div id="error_explanation">
      <h2>
        <%= pluralize(f.object.errors.count, "error") %> evitaron que se guardara este espacio:
      </h2>
      <ul>
        <% f.object.errors.full_messages.each do |msg| %>
          <li>
            <%= msg %>
          </li>
        <% end %>
      </ul>
    </div>
  <% end %>
  <%= f.text_field :name %>
  <%= f.submit %>
<% end %>

<%= javascript_tag do %>
  $(function(){
    $('#room_name').watermark("<%= escape_javascript t('room.watermark.name') %>");
  });
<% end %>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
social_stream-2.2.2 events/app/views/rooms/_form.html.erb
social_stream-events-2.2.1 app/views/rooms/_form.html.erb
social_stream-2.2.1 events/app/views/rooms/_form.html.erb
social_stream-2.2.0 events/app/views/rooms/_form.html.erb
social_stream-events-2.2.0 app/views/rooms/_form.html.erb
social_stream-2.1.1 events/app/views/rooms/_form.html.erb
social_stream-2.1.0 events/app/views/rooms/_form.html.erb
social_stream-events-2.1.0 app/views/rooms/_form.html.erb
social_stream-2.0.4 events/app/views/rooms/_form.html.erb
social_stream-events-2.0.2 app/views/rooms/_form.html.erb
social_stream-2.0.3 events/app/views/rooms/_form.html.erb
social_stream-2.0.2 events/app/views/rooms/_form.html.erb
social_stream-events-2.0.1 app/views/rooms/_form.html.erb
social_stream-2.0.1 events/app/views/rooms/_form.html.erb
social_stream-2.0.0 events/app/views/rooms/_form.html.erb
social_stream-events-2.0.0 app/views/rooms/_form.html.erb
social_stream-2.0.0.beta3 events/app/views/rooms/_form.html.erb
social_stream-events-2.0.0.beta3 app/views/rooms/_form.html.erb
social_stream-2.0.0.beta2 events/app/views/rooms/_form.html.erb
social_stream-events-2.0.0.beta2 app/views/rooms/_form.html.erb