Sha256: 410f0afe7a49447f1f217954538cf30120177bfc9811f7667c169396cb09e446

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :enabled %><br />
    <%= f.check_box :enabled %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/business_activities/_form.html.erb
guara-0.0.1.rc app/views/business_activities/_form.html.erb