And the server console does not give you any information?

when you hit the route what does the browser show?

On Friday, May 31, 2013 12:54:48 PM UTC+2, Sasha Chilly wrote:
>
> Here it is:
>
> <% set_editor_comment %>
> <%= form_for @article do |f| %>
>   <%= render "shared/error_messages", :target => @article %>
>   <% if admin? %>
>     <p>
>       <%= f.label :user_id %>
>       <%= f.select :user_id,  User.authors_and_admins.collect {|p| [ 
> p.username, p.id ] } %>
>     </p>
>   <% end %>
>   <p>
>     <%= f.label :category_id %><%= mark_required(@article, :category_id) 
> %><br/>
>     <%= f.select :category_id,  Category.all.collect {|p| [ p.name, p.id] }, 
> { :include_blank => true } %>
>   </p>
>   <p>
>     <%= f.label :name %><%= mark_required(@article, :name) %><br/>
>     <%= f.text_field :name %>
>   </p>
>   <p>
>     <%= f.label :preview %><%= mark_required(@article, :preview) %><br/>
>     <%= f.text_area :preview, :size => "70x6" %>
>   </p>
>   <p>
>     <%= f.label :body %><%= mark_required(@article, :body) %><br/>
>     <%= f.text_area :body, :class => "mceEditor", :size => "100x20" %>
>   </p>
>   <% if admin? %>
>     <p>
>       <%= f.label :publish_on_main %>
>       <%= f.check_box :publish_on_main %>
>     </p>
>   <% end %>
>   <%= f.submit %>
> <% end %>
>
> <div style="margin-top: 10px;">
>   <iframe src="<%= images_path %>" width="90%" height="500" 
> name="imagesIframe"></iframe>
> </div>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/03c13cba-f2c2-4d50-8e1d-2f162214891d%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to