Sha256: e126d7f51ddf2c012fa315019095a343decace772a13198d935461a54b24477b

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

<h1><%= _("New article") %></h1>

<%= error_messages_for :article %>

<% form_for(@article) do |f| %>
  <p>
   <p><%= f.label :lastupdate %></p>
   <p><%= f.date_select :lastupdate, :use_month_numbers => true %></p>
   <p><%= f.label :title, _("Title: Required.") %></p>
   <p><%= f.text_field :title %></p>
   <p><%= f.label :title, _("Description: More than 10 characters.") %></p>
   <p><%= f.text_area :description %></p>
   <p><%= f.submit _("Create") %></p>
  </p>
<% end %>

<p>
<%= link_to _('Back'), articles_path %>
</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gettext_rails-2.0.0 sample/app/views/articles/new.html.erb
gettext_rails-2.0.1 sample/app/views/articles/new.html.erb