Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p><label for="style_id">Style</label></br />
- <select name="link[style_id]">
- <% @styles.each do |style| %>
- <option value="<%= style.id %>"
- <%= ' selected' if style.id == @link.style_id %>>
- <%= style.name %>
- </option>
- <% end %>
- </select></p>
Add Comment
Please, Sign In to add comment