lib/kaya/view/body.mote in kaya-0.0.9 vs lib/kaya/view/body.mote in kaya-0.0.10
- old
+ new
@@ -2,13 +2,10 @@
% message = query_string.msg ? " onload=\"javascript:startedAlert('Attention!','#{query_string.msg}');\"" : nil
% title = h1 = section.split.map{|w| w.capitalize}.join " "
-
-<!--partials -->
-
% javascript = Mote.parse(File.read("#{Kaya::View.path}/javascript.mote"), self, []).call()
% styles = Mote.parse(File.read("#{Kaya::View.path}/styles.mote"), self, []).call()
% modals = Mote.parse(File.read("#{Kaya::View.path}/modals.mote"), self, []).call()
@@ -18,10 +15,10 @@
% footer = Mote.parse(File.read("#{Kaya::View.path}/footer.mote"), self, []).call()
% template_file_path = File.read("#{Kaya::View.path}/#{Kaya::View::Sections.path_for(section)}.mote")
-% content = Mote.parse(template_file_path, self, [:query_string, :suite_name, :log_name]).call(query_string:query_string, suite_name:suite_name, log_name:log_name)
+% content = Mote.parse(template_file_path, self, [:query_string, :suite_name, :log_name, :ip]).call(query_string:query_string, suite_name:suite_name, log_name:log_name, ip:ip)
% section = section.gsub(" ","_").downcase
% navigation_bar = Mote.parse(File.read("#{Kaya::View.path}/navigation_bar.mote"), self, [:section]).call(section:section)
\ No newline at end of file