Horje
if checkbox is checked open forms Code Example
if checkbox is checked open forms
      <div class="form-group" id="checkbox">
        <%= f.check_box :paydeliver %>
        <%= f.label :paydeliver, "Pay $25" %>
      </div>

      <div id="delivery" style="display:none;">
        <div class="form-group">
          <%= f.label :addysdeliver, "Delivery address"%>
          <%= f.text_field :addysdeliver, class: "form-control"%>
        </div>
      </div>

      <%= f.submit "Go!", class: "btn btn-primary btn-large btn-block" %>

      <% end %> #end of form




Html

Related
BEM example html Code Example BEM example html Code Example
overlay text input html Code Example overlay text input html Code Example
echo htmlspecialchars($_SERVER["PHP_SELF"]); y ajax Code Example echo htmlspecialchars($_SERVER["PHP_SELF"]); y ajax Code Example
how to display superscript in breadcrumbs in html Code Example how to display superscript in breadcrumbs in html Code Example
asp.net get innerhtml of div Code Example asp.net get innerhtml of div Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8