fix for pool selection
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
<%= form_tag(pool_element_path, :class => "simple_form") do %>
|
||||
<%= hidden_field_tag "post_id", @post.id %>
|
||||
|
||||
<div class="input">
|
||||
<label>Pool</label>
|
||||
<%= select_tag "pool_id", options_for_select([["", ""]] + Pool.options) %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<label>Pool Name</label>
|
||||
<%= text_field_tag "pool_name", "", :size => 20 %>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to h(pool.name), pool_path(pool) %>
|
||||
<%= link_to h(pool.pretty_name), pool_path(pool) %>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to h(pool.creator.name), user_path(pool.creator) %>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div id="c-pools">
|
||||
<div id="a-show">
|
||||
<h1>Pool: <%= @pool.name %></h1>
|
||||
<h1>Pool: <%= @pool.pretty_name %></h1>
|
||||
|
||||
<div id="description">
|
||||
<%= format_text(@pool.description) %>
|
||||
|
||||
Reference in New Issue
Block a user