Sha256: 8c38756d2e65be80fc904b601017f062e83afb0c130bf87c635b6f769ab90722
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
<div class="row"> <div class="col-md-8 col-md-offset-2" id="error-message-page"> <% if this_blog.errors.any? %> <div id="error_explanation"> <h2><%= t("errors.template.header", model: 'blog', count: this_blog.errors.count) %></h2> <p><%= t("errors.template.body") %></p> <ul> <% this_blog.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= t("errors.template.header", model: 'blog', count: @user.errors.count) %></h2> <p><%= t("errors.template.body") %></p> <ul> <% @user.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> </div> </div> <%= form_tag action: 'index' do %> <div class='alert alert-info'> <small><%= t('.welcome_to_your_blog_setup', publify: link_to('Publify', 'https://publify.github.io/')) %></small> </div> <%= fields model: this_blog do |form| %> <div class='form-group'> <%= form.text_field(:blog_name, class: 'form-control', placeholder: t('.blog_name')) %> </div> <% end %> <%= fields model: @user do |form| %> <div class='form-group'> <%= form.text_field(:email, class: 'form-control', placeholder: t('.your_mail')) %> </div> <div class='form-group'> <%= form.label :password, t('.password') %><br> <%= form.password_field(:password, class: 'form-control') %> </div> <% end %> <input type="submit" id="submit" class='btn btn-lg btn-success btn-block' value="<%= t('generic.save') %>"> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
publify_core-10.0.2 | app/views/setup/index.html.erb |
publify_core-10.0.1 | app/views/setup/index.html.erb |