Created
June 21, 2019 16:08
-
-
Save marzdgzmn/1a7311bd5ab6009e53c348ffa78522e0 to your computer and use it in GitHub Desktop.
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
<%= form_with(model: study, url: yield(:url), local: true) do |f| %> | |
... |
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
<%= form_with model: Study.new, url: edit_admin_study_path(:title), local: true do |f| %> | |
<div class="row gtr-uniform gtr-50"> | |
<div class="col-9 col-12-mobilep"> | |
<%= f.text_field :title %> | |
<% unless flash.now[:no_record].blank? %> | |
<%= content_tag(:div, flash.now[:no_record], class: 'errorMessage') %> | |
<% end %> | |
<%#<%= f.text_field :tag_list_token, data: {load: @study_tags}, placeholder: "Search Study Title Field" <]%> | |
</div> | |
<div class="col-3 col-12-mobilep"> | |
<%= f.submit 'Search', class: 'button-special' %> | |
</div> | |
</div> | |
<% end %> | |
</section> | |
</div> | |
</div> | |
<section class="box"> | |
<% if @study %> | |
<%= render 'form', study: @study %> | |
<% end %> | |
</section> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment