Sha256: 7aebb55bd6741d430ea0aa1a11da528ac3c62e75f210cc5d01fb6d6bbf8b59c6
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
<%= form_for(@option) do |f| %> <div class="small-12 columns"> <%= f.submit 'Save', class: 'success button' %> <%= link_to 'Back', options_path, class: 'secondary hollow button' %> </div> <% if @option.errors.any? %> <div class="small-12 columns"> <div class="callout warning"> <h5><%= pluralize(@option.errors.count, 'error') %> prohibited this content from being saved:</h5> <ul> <% @option.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> </div> <% end %> <% if notice %> <div class="small-12 columns"> <div class="callout success notice"> <p><%= notice %></p> </div> </div> <% end %> <div class="small-12 columns"> <%= f.label :key %> <%= f.text_field :key, required: true %> <p class="help-text">Keys must be all lowercase with no spaces or special characters (example: facebook_url)</p> </div> <div class="small-12 columns"> <%= f.label :value %> <%= f.text_area :value %> </div> <%= current_site_form_field f %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems