<% # encoding: utf-8 %>

		<%= form_for(@bulletin.bulletin_links, :remote => true, :url => @link_url) do |f| %>
		
        <div id="modal-link" class="modal hide fade">
            <div class="modal-header">
                <a class="close" data-dismiss="modal">×</a>
                <h3>Add Link / Edit Link</h3>
            </div>
            <div class="modal-body form-horizontal">
                <div class="control-group">
                    <label for="http" class="control-label">URL</label>
                    <div class="controls">
					<%= f.text_field :url %>
                    <span class="help-inline">Please correct the error</span>
                    </div>
                </div>
				
				<% @site_valid_locales.each do |locale| %>
					<div class="control-group error">
						<label for="link-<%= locale %>" class="control-label"><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
						<div class="controls">
						<input type="text" value="" id="link-<%= locale %>" class="input-xlarge">
						<span class="help-inline">Please correct the error</span>
						</div>
					</div>
				<% end %>
				
            </div>
			
            <div class="modal-footer">
                <a class="btn btn-primary" href="#">Submit/確定</a>
                <a class="btn" data-dismiss="modal" href="#">Cancel/取消</a>
            </div>

        </div>
		
		<% end %>
		

 		