Skip to content

Instantly share code, notes, and snippets.

@jtomasek
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtomasek/9662761 to your computer and use it in GitHub Desktop.
Save jtomasek/9662761 to your computer and use it in GitHub Desktop.
<div class="row">
<%= field(f, :layout_id, :label => _('Deployment Layout')) do
radio_button_f_non_inline(f, :layout_id, :value=>1, :text=> _("Distributed, Nova Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>2, :text=> _("Distributed, Neutron Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>3, :text=> _("Distributed With High Availability, Nova Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>4, :text=> _("Distributed With High Availability, Neutron Networking"))
end %>
</div>
<div class="row">
<%= field(f, :layout_id, :label => _('Deployment Layout')) do
@layouts.each do |layout|
radio_button_f_non_inline(f, :layout_id, :value=>1, :text=> _("Distributed, Nova Networking"))+
end
end %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment