Created
March 8, 2013 21:11
-
-
Save kimardenmiller/5119881 to your computer and use it in GitHub Desktop.
hubmodal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#hubModal.modal.hide{data: {width: '400px'}} | |
.modal-header | |
.pull-right= link_to raw('×'), '#', class: 'close', data: {dismiss: 'modal'} | |
%h3 Create a new Group | |
.modal-body | |
= form_for Hub.new, data: {remote: true} do |f| | |
%fieldset | |
.control-group | |
.controls | |
= f.text_field :group_name, :class => 'input-xlarge', data: {location_input: '#formatted_location', location_id: '#location_id'}, placeholder: 'Enter the Name' | |
.control-group | |
.controls | |
= f.text_field :formatted_location, :class => 'input-xlarge gpSearchBox', data: {value_field: '#hub_location_id'}, placeholder: 'Enter the Location' | |
= f.hidden_field :location_id | |
.modal-footer | |
= link_to raw('Save <i class="icon-ok"></i>'), '#', class: 'btn btn-primary', id: 'hubModalSave' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment