Removing last hard-wirred.
This commit is contained in:
parent
c5d215b914
commit
de0842d203
|
@ -6,7 +6,7 @@ module ApplicationHelper
|
||||||
levels.delete_at(0)
|
levels.delete_at(0)
|
||||||
|
|
||||||
#links = "You are here: "
|
#links = "You are here: "
|
||||||
links = content_tag('a', "HOME", :href => "/") if include_home
|
links = content_tag('a', "HOME", :href => root_path ) if include_home
|
||||||
|
|
||||||
nocrumb = ["collections", "albums", "photos", "tags", "new", "edit", "tags"]
|
nocrumb = ["collections", "albums", "photos", "tags", "new", "edit", "tags"]
|
||||||
|
|
||||||
|
|
|
@ -20,18 +20,12 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<h1>
|
<h1>
|
||||||
<a href="/">
|
<%= link_to(if ENV['LOGO'] then image_tag(ENV['LOGO']) else (ENV['TITLE'] || "Photos") end, root_path) %>
|
||||||
<% if ENV['LOGO'] %>
|
|
||||||
<%= image_tag ENV['LOGO'] %>
|
|
||||||
<% else %>
|
|
||||||
<%= ENV['TITLE'] || "Photos" %>
|
|
||||||
<% end %>
|
|
||||||
</a>
|
|
||||||
</h1>
|
</h1>
|
||||||
<form action="/albums" method="get" id="search">
|
<% form_tag albums_path, { :id => :search } do -%>
|
||||||
<input type="text" name="q" class="textfield"/>
|
<input type="text" name="q" class="textfield"/>
|
||||||
<input type="submit" value="Search" class="button" />
|
<input type="submit" value="Search" class="button" />
|
||||||
</form>
|
<% end -%>
|
||||||
<hr class="seperator" />
|
<hr class="seperator" />
|
||||||
<%= breadcrumbs %>
|
<%= breadcrumbs %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue