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/>.
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>
26 <% @organization.errors.full_messages.each do |msg| %>
35 <td><label for="organization_name" class="box2 table-resource-label">Name:</label></td>
36 <td><%= h form.text_field :name %></td>
39 <td><label for="organization_abrev" class="box2 table-resource-label">Abreviation:</label></td>
40 <td><%= h form.text_field :abrev %></td>
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>
50 <%= h form.text_area :description, :rows => 2 , :style => "width:99.5%" %>