Sha256: 25e1625163c65298d3540c7490e1ec7702b0249a860791f82b5237d7a8bf2557

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 Bytes

Contents

<p>
<label for="topic_title"><%= 'Title'[:title_title] %></label><br />
<%= form.text_field :title, :onchange => "/*TopicForm.editNewTitle(this);*/", :class => "primary", :tabindex => 10 %>

</p>
<% if @topic.new_record? %>
	<p>
	<label for="topic_body"><%= 'Body'[:body_title] %></label><br />
	<%= form.text_area :body, :rows => 12, :tabindex => 20 %></p>
<% end %>

<% if !@topic.new_record? %>
	<p id="topic_forum_id">
	<label for="topic_forum_id"><%= 'Forum'[:forum_title] %></label><br />
	<%= form.select :forum_id, Forum.find(:all, :order => "position").map {|x| [x.name, x.id] } %></p>
	</p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tamed_beast-0.0.3 app/views/topics/_form.html.erb
tamed_beast-0.0.2 app/views/topics/_form.html.erb
tamed_beast-0.0.1 app/views/topics/_form.html.erb