Sha256: 9c17c37e21cc5b7a60d08481aee17b6ddbb8d1bf85267627194d25ba7ee7ad13
Contents?: true
Size: 907 Bytes
Versions: 4
Compression:
Stored size: 907 Bytes
Contents
<% semantic_form_for @article do |form| %> <% form.inputs :name => "Basic" do %> <%= form.input :title %> <%= form.input :body %> <%= form.input :section %> <%= form.input :publication_state, :as => :radio %> <%= form.input :category %> <%= form.input :allow_comments, :label => "Allow commenting on this article" %> <% end %> <% form.inputs :name => "Advanced" do %> <%= form.input :keywords, :required => false, :hint => "Example: ruby, rails, forms" %> <%= form.input :extract, :required => false %> <%= form.input :description, :required => false %> <%= form.input :url_title, :required => false %> <% end %> <% form.inputs :name => "Author", :for => :author do |author_form| %> <%= author_form.input :first_name %> <%= author_form.input :last_name %> <% end %> <% form.buttons do %> <%= form.commit_button %> <% end %> <% end %>
Version data entries
4 entries across 4 versions & 2 rubygems