Displaying 20 results from an estimated 2078 matches for "rhtml".
Did you mean:
html
2006 Mar 22
3
strange issue locating a file
...39;
Craig
$ svn update
A app/models/notifier.rb
A app/models/error_mailer.rb
U app/models/facility.rb
U app/models/placement.rb
U app/controllers/application.rb
U app/controllers/reports_controller.rb
A app/views/notifier
A app/views/error_mailer
U app/views/login/_motd.rhtml
U app/views/placements/_form.rhtml
U app/views/placements/show.rhtml
A app/views/reports/client_list_all.rhtml
U app/views/reports/vo_res_census_all.rhtml
U app/views/reports/rfn2.rhtml
A app/views/reports/_client_list.rhtml
U app/views/reports/rfn3.rhtml
A app/views/reports...
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
---
src/app/views/storage/_form.rhtml | 2 ++
src/app/views/storage/_list.rhtml | 4 ++++
src/app/views/storage/_list_volumes.rhtml | 4 ++++
src/app/views/storage/show.rhtml | 4 ++++
.../views/storage_volume/_new_volume_form.rhtml | 1 +
src/app/views/stor...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
---
src/app/views/storage/_form.rhtml | 2 ++
src/app/views/storage/_list.rhtml | 4 ++++
src/app/views/storage/_list_volumes.rhtml | 4 ++++
src/app/views/storage/show.rhtml | 4 ++++
.../views/storage_volume/_new_volume_form.rhtml | 1 +
src/app/views/stor...
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post.
i''m accessing this partial on the list.rhtml and the show.rhtml
what i''d like is to only show the "link" link on the list.rhtml and not
on the show page.
<%= post.title%>
<br />
<%= post...
2006 Jan 16
2
render :file question
Hi,
I have a layout xyz.rhtml. And a footer.rhtml. Both these files reside
in app/views/layouts/.
In that layout, I am making a call like this:
<%= render :file => "footer", :use_full_path => true%>
I have also tried:
<%= render :file => "footer"%>
footer.r...
2006 Apr 19
3
include contents of one rhtml in another
Hi
I have a rhtml documment in views/account/login.rhtml
I want to include the contents of login.rhtml in
views/welcome/index.rhtml
any suggestions on how this can be done?
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file?
I come from a PHP/Smarty background, and in the templates, I''ve used
what is called "modifiers" to format data.
{$price|currency_format} # displays in currency format
{$description|truncate:"100"} # Truncates the description after 100
characters
It seems like...
2006 Dec 19
7
Improve the rendering speed of rhtml
I found through the log file that the render of the rhtml template would
take too much time if there exists ruby code in the rhtml files.In many
cases,these ruby code are tied with these rhtml files closely and can
not be decoupled from that,therefore,i have a question that,is there
exist some way to improve the rendering speed of rhtml when some ruby
cod...
2009 Nov 17
6
after changed the tag i got the same eror
SyntaxError in Upload#index
Showing *app/views/upload/uploadfile.rhtml* where line *#10* raised:
compile error
app/views/upload/uploadfile.rhtml:10: syntax error
Extracted source (around line *#10*):
7: <% end %>
Trace of template inclusion: app/views/upload/uploadfile.rhtml
RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/u...
2007 Mar 20
4
rhtml plugin needed
Hi !
Is there any rhtml plugins for Eclipse ( or ) Radrails editors ?
Pls , suggest me !
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group...
2006 Mar 14
7
Starting with RJS - not working
...js-templates)
I''ve started by creating a new rails applications and executing
rake freeze_edge
rake rails:update:javascripts
rake rails:update:scripts
After that I''ve created a controller:
class DtestController < ApplicationController
def add
end
end
Created the files add.rhtml and add.rjs in views/dtest/ ,and
dtest.rhtml in views/layouts.
I''ve started my server and called my add action and nothing happends .
Can anyone explain me what I did wrong ?
My prototype version is 1.5.0_pre0
Thanks,
Ovidiu
2006 Jul 26
7
RHTML in database?
Hi,
is it possible to store RHTML templates or partials in database?
thanks,
Bojan Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org
2008 Feb 07
2
[CruiseControl] RubyOnRails build 8820 fixed
The build has been fixed.
CHANGES
-------
Revision 8820 committed by bitsweat on 2008-02-07 23:10:01
Remove empty .rhtml templates
D /trunk/actionmailer/test/fixtures/templates/signed_up.rhtml
D /trunk/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml
D /trunk/actionmailer/test/fixtures/first_mailer/share.rhtml
D /trunk/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_wit...
2006 Jan 13
10
[Announcement] Google: Evil or Not?
"Google: Evil or Not?" is my first Rails webapp and I''ve just made it
public at http://evilornot.info
Do you still believe the ?Do no evil? Google mantra? Do you think
Google Book Search, the AOL deal, and Larry and Sergey?s 767 point to
Google losing it?s pristine morality and turning over to the dark side?
Now you can discover what the world thinks and contribute your
2006 May 17
9
Render No Layout?
...able2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial => "do_something")
end
on my do_something.rhtml, my code is this:
<% if $trigger == "1" %>
<%=$d %>
<% $trigger = "0" %>
<% return %>
<% end %>
I get a render with no layout error message. What am I doing wrong?
thanks in advance!
Bing
--
Posted via http://www.ruby-forum.com/.
2006 Jan 10
7
All My Rails Apps Died Over the Holidays
I have several Rails (version 1.0) apps I''m working on on a Win XP box
using Webrick that were working fine before I left for the holidays. I
came back, started up and they all get the same syntax and compile
errors:
compile error
./script/../config/../app/views/time/list.rhtml:4: Invalid char `\212''
in expression
repeated over and over. Refreshing the page gives thes same error but
for seemingly random parts in the rhtml files.
The application trace is:
#{RAILS_ROOT}/app/views/time/list.rhtml:4:in `module_eval''
-e:3:in `load''
-e:3
I tried...
2005 Dec 19
7
Error handling!
Hello all,
I''m in the beginning states of learning ruby on rails development and
have got to a part where I''m a little stuck! Basically writing a simple
blog application, just to try something completely different! ;-)
I have a page which displays the current blog entry, it''s comments and
at the bottom of the page, a form to add a comment. So far, so good.
2006 Jan 17
9
Setting layout template in .rhtml
I''ve a single controller -
class ContentController < ApplicationController end
in the app/views/content folder I have quite a few .rhtml files
I need to be able to choose a different layout template to
use in each of these .rhtml files.
i''d like to be able to do something like (which doesn''t work..)
<% layout ''layout1'' %>
Any suggestions?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 12
2
Layouts: application.rhtml v. mycontroller.rhtml
I was trying to be all DRY and standardize my layouts to one file and
made an application.rhtml. There was no application.rhtml at all
before.
So I renamed all my controller layouts to .txt and then tested. I got
empty pages.
I found some issues with Login/UserEngine and application.rhtml, but
nothing that looked like this behavior. Is routing messing me up? It''s
as if appl...
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...m
---
src/app/controllers/network_controller.rb | 27 +++++++++++++++----
src/app/models/bonding.rb | 2 +-
src/app/models/network.rb | 2 +-
src/app/models/nic.rb | 2 +-
src/app/views/network/_form.rhtml | 15 +++++++++++
src/app/views/network/_ip_address_form.rhtml | 8 +++++-
.../views/network/edit_network_ip_addresses.rhtml | 13 ---------
src/app/views/network/show.rhtml | 4 ---
8 files changed, 46 insertions(+), 27 deletions(-)
delete mode...