]> git.openstreetmap.org Git - rails.git/blob - app/views/api/permissions.builder
Wrap the permission label with a <label> tag
[rails.git] / app / views / api / permissions.builder
1 # create list of permissions
2 xml.instruct! :xml, :version => "1.0"
3 xml.osm("version" => API_VERSION.to_s, "generator" => "OpenStreetMap Server") do
4   xml.permissions do
5     @permissions.each do |permission|
6       xml.permission :name => permission
7     end
8   end
9 end