Sha256: 1f54adeda07f07536b6704426e1c4850abae5261a8da7b15e9809052365c0f8d
Contents?: true
Size: 656 Bytes
Versions: 1
Compression:
Stored size: 656 Bytes
Contents
<%= semantic_form_for [@forum, @topic] do |form| %> <%= form.inputs do %> <%= form.input :title %> <% end %> <%= form.semantic_fields_for :posts, @topic.posts.first do |post_form| %> <%= render 'formol/posts/form', :form => post_form %> <% end %> <% unless @topic.persisted? %> <%= form.semantic_fields_for :poll do |poll_form| %> <%= render 'formol/polls/form', :form => poll_form, :topic => @topic %> <% end %> <% end %> <%= form.inputs :name => t('.options') do %> <%= form.input :pinned %> <%= form.input :locked %> <% end %> <%= form.buttons do %> <%= form.commit_button %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formol-0.0.4 | app/views/formol/topics/_form.html.erb |