Hide public communty.
[ecs.git] / app / views / admin / organizations / _form.html.erb
blob234bcbc6430530362adb2620aca6a912808f7d8e
1 <!--
2 Copyright (C) 2007, 2008, 2009, 2010 Heiko Bernloehr (FreeIT.de).
4 This file is part of ECS.
6 ECS is free software: you can redistribute it and/or modify it
7 under the terms of the GNU Affero General Public License as
8 published by the Free Software Foundation, either version 3 of
9 the License, or (at your option) any later version.
11 ECS is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 Affero General Public License for more details.
16 You should have received a copy of the GNU Affero General Public
17 License along with ECS. If not, see <http://www.gnu.org/licenses/>.
18 -->
21 <% if @organization.errors.any? %>
22   <div id="error_explanation">
23     <h2><%= pluralize(@organization.errors.count, "error") %> prohibited
24       this Organization from being updated</h2>
25     <ul>
26       <% @organization.errors.full_messages.each do |msg| %>
27         <li><%= msg %></li>
28       <% end %>
29     </ul>
30   </div>
31 <% end %>
33 <table>
34 <tr>
35 <td><label for="organization_name" class="box2 table-resource-label">Name:</label></td>
36 <td><%= h form.text_field :name %></td>
37 </tr>
38 <tr>
39 <td><label for="organization_abrev" class="box2 table-resource-label">Abreviation:</label></td>
40 <td><%= h form.text_field :abrev %></td>
41 </tr>
42 </table>
44 <p>
45 <div class="formular-input-width">
46 <div class="table-border">
47 <div class="table-header">
48   <label for="organization_description" class="table-resource-label">Description (optional):</label>
49 </div>
50 <%= h form.text_area :description, :rows => 2 , :style => "width:99.5%" %>
51 </div>
52 </div>