Sha256: a4ee05355d1df8190281b3d49c8a23d7346574a8c8cbfb8f9b9cba90ad08e7ef

Contents?: true

Size: 779 Bytes

Versions: 7

Compression:

Stored size: 779 Bytes

Contents

<%= form_for @service do |f| %>
  <% if @service.errors.any? %>
    <div id="error_explanation">
      <h2>Please correct the following errors:</h2>
      <% @service.errors.to_a.in_groups(2, false).each do |group| %>
      <ul>
        <% group.each do |msg| %>
        <li><%= msg %></li>
        <% end %>
      </ul>
      <% end %>
      <br style="clear: both;" />
    </div>
    <br style="clear: both;" />
  <% end %>

  <fieldset class="form_container">
    <%= legend_tag 'About This Service' %>

    <div class="form_column">
      <%= f.text_field :name %>
      <%= f.text_area :description %>
    </div>
  </fieldset>

  <%= f.submit 'Save', :class => 'button' %>
  <%= link_to 'Cancel', services_path, :class => 'button' %>
  <br style="clear: both;" />
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
campfire_logic-2.0.7 app/views/services/_form.html.erb
campfire_logic-2.0.6 app/views/services/_form.html.erb
campfire_logic-2.0.5 app/views/services/_form.html.erb
campfire_logic-2.0.4 app/views/services/_form.html.erb
campfire_logic-2.0.3 app/views/services/_form.html.erb
campfire_logic-2.0.2 app/views/services/_form.html.erb
campfire_logic-2.0.1 app/views/services/_form.html.erb