This is the error that I am getting:
Showing vendor/plugins/active_scaffold/frontends/default/views/
_list_record.rhtml where line #13 raised:
malformed format string - %)
Extracted source (around line #13):
10: <td class="<%= column_class(column, column_value) %>" >
11: <% if column.link -%>
12: <% column.link.label = column_value %>
13: <%= record.authorized_for?(:action =>
column.link.crud_type) ? render_action_link(column.link,
url_options) : "<a class='disabled'>#{column.link.label}</a>" -%>
14: <% else -%>
15: <%= column_value %>
16: <% end -%>
Trace of template inclusion: /vendor/plugins/active_scaffold/frontends/
default/views/_list.rhtml, /vendor/plugins/active_scaffold/frontends/
default/views/list.rhtml
RAILS_ROOT: script/../config/..
Kevin
Hello,
I am new to Active Scaffold, just started using it today. My co-
worker has been raving about it. I just had problem that when I enter
a percent sign in a field and did save it totally broke my page. I
enter 3%. When i do refresh of the page to see the list. Is there a
way to tell active scaffold to escape this field?
This is the error that I am getting:
Showing vendor/plugins/active_scaffold/frontends/default/views/
_list_record.rhtml where line #13 raised:
malformed format string - %)
Extracted source (around line #13):
10: <td class="<%= column_class(column, column_value) %>" >
11: <% if column.link -%>
12: <% column.link.label = column_value %>
13: <%= record.authorized_for? (:action =>
On Aug 22, 7:18 pm, "Lance Ivy" <la...@cainlevy.net> wrote:
> Oh, yeah, that's a bug we've patched in trunk. There's a little method
> secreted away at the bottom of lib/active_scaffold.rb that should instead
> look like this:http://activescaffold.googlecode.com/svn/trunk/lib/extensions/localiz....
>
> On 8/22/07, kengl...@gmail.com <kengl...@gmail.com> wrote:
>
>
>
> > Hello,
> > I am new to Active Scaffold, just started using it today. My co-
> > worker has been raving about it. I just had problem that when I enter
> > a percent sign in a field and did save it totally broke my page. I
> > enter 3%. When i do refresh of the page to see the list. Is there a
> > way to tell active scaffold to escape this field?
>
> > This is the error that I am getting:
>
> > Showing vendor/plugins/active_scaffold/frontends/default/views/
> > _list_record.rhtml where line #13 raised:
>
> > malformed format string - %)
>
> > Extracted source (around line #13):
>
> > 10: <td class="<%= column_class(column, column_value) %>" >
> > 11: <% if column.link -%>
> > 12: <% column.link.label = column_value %>
> > 13: <%= record.authorized_for?(:action =>