Sha256: 060225f39812bab631df3564096c0e726ffacab1c5b7c2ca4c5700e684432f53

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<%= form_for @group do |f| %>
  <% f.object._founder = current_subject.permalink %>
  <%= f.hidden_field :_founder %>

  <% if @group.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@group.errors.count, "error") %> prohibited this group from being saved:</h2>

      <ul>
      <% @group.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label t('group.new.name') %><br />
    <%= f.text_field :name, :size=> 71 %>
  </div>
  <div class="field">
    <%= f.label t('group.new.description') %><br />
    <%= f.text_area :description, :rows =>6, :cols=> 53 %>
  </div>
  <div class="field">
    <%= f.label t('group.new.participants') %><br />
    <%= f.select :_participants, "" %>
  </div>
  <br>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
<br><br>
<% content_for :javascript do %>
	$("#group__participants").fcbkcomplete({
		json_url: "../contacts/index.json",
		cache: true,
		filter_case: true,
		filter_hide: true,
		newel: false,
		height: 6
	});
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-0.3.6 app/views/groups/_new.html.erb
social_stream-0.3.5 app/views/groups/_new.html.erb
social_stream-0.3.4 app/views/groups/_new.html.erb