Sha256: 099adf0fc79959f5aec10bfbe484c41bbe8e084084338d7d2ad7f9b987af45cd

Contents?: true

Size: 524 Bytes

Versions: 8

Compression:

Stored size: 524 Bytes

Contents

-box do
  %h3= :new_metro_area.l

  = error_messages_for :metro_area
  = form_for(:metro_area, :url => metro_areas_path, :html => {:class => "MainForm"}) do |f|
    %label= :country.l + ":"
    = f.collection_select :country_id, Country.find(:all, :order => "name"), :id, :name
    %label= :state.l + ":"
    = f.collection_select :state_id, State.find(:all), :id, :name, :include_blank => true
    %label= :name.l + ":"
    = f.text_field :name

    %p
      = submit_tag :create.l

    = link_to :back.l, metro_areas_path

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/metro_areas/new.html.haml
community_engine-2.3.1 app/views/metro_areas/new.html.haml
community_engine-2.3.0 app/views/metro_areas/new.html.haml
community_engine-2.1.0 app/views/metro_areas/new.html.haml
community_engine-2.0.0 app/views/metro_areas/new.html.haml
community_engine-2.0.0.beta3 app/views/metro_areas/new.html.haml
community_engine-2.0.0.beta2 app/views/metro_areas/new.html.haml
community_engine-2.0.0.beta1 app/views/metro_areas/new.html.haml