]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/feature.html.erb
Refactor away from global form control styling
[rails.git] / app / views / browse / feature.html.erb
1 <% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
2
3 <h2>
4   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5   <%= t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
6 </h2>
7
8 <%= render :partial => @type, :object => @feature %>
9
10 <div class='secondary-actions'>
11   <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
12   &middot;
13   <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
14 </div>