22 lines
571 B
Plaintext
22 lines
571 B
Plaintext
|
<%= form_for(@open_source_project) do |f| %>
|
||
|
<% if @open_source_project.errors.any? %>
|
||
|
<div id="error_explanation">
|
||
|
<h2><%= pluralize(@open_source_project.errors.count, "error") %> prohibited this open_source_project from being saved:</h2>
|
||
|
|
||
|
<ul>
|
||
|
<% @open_source_project.errors.full_messages.each do |msg| %>
|
||
|
<li><%= msg %></li>
|
||
|
<% end %>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
|
||
|
<div class="field">
|
||
|
<%= f.label :String %><br />
|
||
|
<%= f.text_field :String %>
|
||
|
</div>
|
||
|
<div class="actions">
|
||
|
<%= f.submit %>
|
||
|
</div>
|
||
|
<% end %>
|